How do I input a nested json as a parameter?
Options
nocodejordan
Member ✭
I have set up this webhook where a nested value called score[scaled] is sent to me. How should I set up the input such that it can read this number?
Best Answer
-
Hi @nocodejordan - to make your Webhook more flexible. Instead of defining inputs, use the function Get All Inputs (Webhook) - this is in Utility functions. This will capture the entire payload, no matter what, and store the inputs in a return variable so you can use the data in your function stack. Here's an example:
Answers
-
This is very helpful. Thanks @Michael Udinski !
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback