-
How to POST list of resources (more then 1)?
I have POST endpoint for resource "Thought" Query Parameters: Body { "description": "string", "percent_believe": integer } It is easy. But my interface has option of adding some resources "Thoughts" when user clicks button "Save". If user doesn't click button "Save" then thoughts haven't to be saved. { [ {"description":…
-
Post request from ESP8266 to Xano database
I'm trying to post data into a database table from my IOT device but I keep getting a 308 redirect response. Does anyone have experience with this? Some of my code: WiFiClient client; HTTPClient http; String serverPath = serverName + "/checklist_devices/"; http.begin(client, serverPath.c_str()); int httpResponseCode =…
-
How do I send a list of booleans using the API
Hey everyone, I'm using the API to post to a table (currently using postman). This table has a field that is a list of booleans. It works if I just send "true" or "false", but when I try to send an array of them, I get the following error. Here's the table schema incase I have something setup incorrectly there: I'm new to…
-
Data getting deleted when updating record despite using first_notempty
Hello guys, I have a funnel divided into two parts: Get a quote Subscribe When the user obtain the quote, I execute a POST request to my user table in order to create the record and put all the infos. Then, if the user wants to go further and subscribe, he pursues in the funnel and add information (email, phone, name,…
-
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
-
Simple Post request on Twitter
Hi All, I am new here. I was wondering if there are tutorials regarding an External API request that need OAuth 2.0 . I want to post a tweet from XANO but I find it confusing when it comes to authentication. I manage to make API calls only the ones that do not need authentication. Any help is welcome.
-
Confused with post error - Missing param: name, param: industry.methods.0.name
I have a post endpoint with authentication being sent from Weweb. I keep getting the following 400 error: code: ERROR_CODE_INPUT_ERROR, message: Missing param: name, payload: {param: industry.methods.0.name } What I cannot figure out, apart from generally making it work lol, is where the param name is coming from. My…