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
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.1K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 450 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 289 Events
- 34 Webinars
- 7.3K Forum Archives