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 information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.2K Get Help
- 462 Global Discussions
- 156 Industry Talk
- 506 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 81 Community Job Board
- 517 Show & Tell
- 35 Member Spotlight
- 3 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives