Verify that Xano request was successful

Hi,

I am adding records to a Xano table one of which is order id which is uses the autogenerated id from Xano as well as the customer id. What I want to do though is to make sure that the was successful to make sure that I am getting the id from the correct record.

So my process is -

  • Insert record
  • Get last record from table
  • Compare table fields with WeWeb form fields to ensure that they match
  • If equal, all ok
  • If not equanl, throw error

If there is another way to do this, I would appreciate any guidance.

Also, how to you check a Xano request to ensure that it was successful - Status 200?

Thanks
Steve

Hey Steve, that sounds about right :slight_smile:
And yes, status 200 is the API’s way of telling you a request was successful (Xano’s API in this case).

I can help, lets connect.