file object not showing in postbody of rest connector
-
Shivam3 years ago #24389
Hello Simplifier community,
I am working on application to add issues on jira. I am using jira rest api. I am having issues while adding attachments to an existing issue. On jira side, it expects the data to be of the content-type – ‘multipart-formdata’. So, want to pass an object of file type in the body of the request. But after running, when I inspect the issue in network tab, the file object is not seen in the request json. So, the file object is not being passed to the postBody of the connector. How to fix this issue? I am attaching some screenshots for clear understanding.
Attachments:
You must be logged in to view attached files.Armin WinklerHas successfully completed the online course IntroductionHas successfully completed the online course Intermediate (200)Has successfully completed the online course Advanced (300)Has successfully completed the online course Basics (100)2 years ago #34183::Hi Christoph,
unfortunately the REST connector still does not support multipart file uploads in the current state of development. Your workaround would be to execute the necessary requests to the external interface via a client-side XHR / ajax call. Adding this capability to the REST connector however is still very much planned for a future release. I will add your name to the list of interested customers.
Kind regards,
Armin
Armin WinklerHas successfully completed the online course IntroductionHas successfully completed the online course Intermediate (200)Has successfully completed the online course Advanced (300)Has successfully completed the online course Basics (100)3 years ago #24462::Hi Shivam,
unfortunately you won’t be able to use Simplifier’s REST connector for this use case as it does not support multipart as of now. This limitation is known to us and will be eliminated in a future Simplifier release. However I cannot provide you with an exact due date for this enhancement yet. Please check the changelogs of the upcoming Simplifier releases to see if multipart support has been added to the REST connector.
Regards,
Armin
You must be logged in to reply to this topic.