- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-14-2024 11:15 AM
Hello all,
I've more-or-less successfully built my first action. It's taking catalog inputs and generating a JSON Payload then sending it to an endpoint via a REST step. I can get the data to load and send, but the odd part is, it's sending as an octet-stream rather than a simple JSON file ("$content-type": "application/octet-stream" as opposed to application/json. I'm not seeing anything on my side in the Flow/Action that indicates it is/should be doing that. Can anyone provide some guidance on where I check/set this value? I am using the JSON Builder step and the REST step.
Thank you,
Erik
Solved! Go to Solution.
- Labels:
-
Action Designer
-
flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2024 01:56 PM
For those who are looking for a quick answer to this, it gets set as a Header of the REST Step. If you don't put one, it looks like it defaults to application/octet-stream. If you set it in the Header to have a Name/Value pairing of "content-type" and "application/json", it will send in the json format without the added encryption.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2024 01:56 PM
For those who are looking for a quick answer to this, it gets set as a Header of the REST Step. If you don't put one, it looks like it defaults to application/octet-stream. If you set it in the Header to have a Name/Value pairing of "content-type" and "application/json", it will send in the json format without the added encryption.