Is it possible to send the uploaded file via JSON API?

Confluence User - 08 Feb, 2024

Currently, I'm working on a proof of concept for Joget and Power Automate integration and it's required the uploaded file in the file upload element to be sent along with the request.

  1. I can make a HTTP Post to Power Automate successfully by using the JSON API Post Processing Tool but there is an error in Power Automate show that the content type is '<null>' and also in Joget's log show that only the file name being sent to the target server.
    - Joget's Log
    - Error in Power Automate

  2. I tried making an API call directly to Power Automate via Postman using the same request as in the Joget app, and the uploaded file was successfully created in Sharepoint, and I could see the file content in the request body, but when I changed the endpoint to the Joget server, the error message show the same as when I triggered from the app.
    - Call HTTP Post directly to Power Automate




Is it possible to send the uploaded file using  this solution?

jsonapi

1


12 Feb, 2024
confluenceUser
confluenceUser

Hi, if you need more features for JSON integration, perhaps you can try the Enhanced JSON Tool Plugin from the Joget Marketplace.


RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print