I am using the http-caller to upload attachments to a arcgis portal via the addAttachment in the Rest API. It works fine to upload but the image does not behave in the same way as when I make the post with postman. The attachment link in the portal downloads the image instead of showing it in the browser. This is not the case with Postman. Any help appreciated
Page 1 / 1
Hi @hrinn,
Perhaps try setting Body Upload Data to Upload from File instead of Multipart, then set Content Type to JPEG. This should allow streaming to a browser.
Hi @hrinn,
Perhaps try setting Body Upload Data to Upload from File instead of Multipart, then set Content Type to JPEG. This should allow streaming to a browser.
Yes you are right @daveatsafe . I totally missed the MIME type button