DataPower

 View Only
  • 1.  Send multipart/form-data As image File to Backend

    Posted Sat May 27, 2023 06:02 AM
    Edited by mayur gharat Tue May 30, 2023 01:42 PM
      |   view attached
    I have an requirement to send the base64 encoded image content to backend as form-Data content.
    I have GS ,  which converting the data and sending to backend  but we are getting error from backend as inavalid image also 
    as i have observe that in content ,  having  some junk data in GS output .
    I have GS file  attached ,Can you please help me on this.

    Also i have attached a part of data which working with pass through service and  which is not working with GS .

    ------------------------------
    mayur gharat
    ------------------------------
    Working

    Non-Working

    Attachment(s)

    js
    imagejs.js   1 KB 1 version


  • 2.  RE: Send multipart/form-data As image File to Backend

    Posted Mon May 29, 2023 03:47 PM
    Edited by mayur gharat Tue May 30, 2023 01:42 PM

    HI , can anyone help me on this .



    ------------------------------
    mayur gharat
    ------------------------------



  • 3.  RE: Send multipart/form-data As image File to Backend

    Posted Wed May 31, 2023 06:19 PM
    Edited by mayur gharat Wed May 31, 2023 06:19 PM

    Dear  Hermann Stamm-Wilbrandt .

    Could  you help in this .

    Regards ,

    Mayur



    ------------------------------
    mayur gharat
    ------------------------------