Blank records added from POST
Trying to add records from a POST but i keep getting blank records added rather than the data. if i put the data in manually with debug it works.
json post is
{ "name": "John Doe",
"age": 30,
"city": "New York",
"occupation": "Software Engineer"}
any help is appreciated, it's driving me mad
Best Answer
-
Hi @Herdy -
The first thing I'd check is to make sure your current endpoint is not in draft mode. If it is, then please publish and try again.
Secondly, the payload might not be as described. Please run a test and check your API request history for the input. You can copy and paste it into the debugger and run a test through run and debug. Also feel free to share it here if you need help.
Answers
-
Thanks Michael,
You were right, the end point was in draft mode. id's tried everything except pressing publish 🙃
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