BRIDGE - Using JSON as HTTP Call body
Hi all,
I am trying to send a JSON payload using HTTP Call utility function, but on the target url I receive the payload as a string.
I am actually using a Javascript script to build the payload and then using the reference as a body, but also trying using something like { "test": true } in the body will produce something like '{"test": "true"}' : ''
What am I doing wrong?
Tags:
Answers
-
It sounds like you may need to include the content-type header.
Here’s an example sending JSON payload:
Let me know if that works for you!
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 136 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 485 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives