Forum Discussion

SheryBulos's avatar
5 years ago

Third Party API - Post request with files uploaded

Hello Everyone ๐Ÿ™‚ what is the possible methods to call third party API by  from Khoros ? taking into consideration that it is post request with files attached "formData". Thanks in advance, Sh...
  • SuzieH's avatar
    5 years ago

    Hi SheryBulos 

    I heard back from our Engineering team.

    While you can create a form and send the non-file form data to an API via http.client.request, we don't currently support passing files using http.client.request. If a customization needs to send files to an API, you'll either need to make the API call from the browser (i.e., an AJAX request) or else you will need to work with Professional Services.