Comment on page
Inputs are used to manage the Input configuration of an endpoint.
For example, If you were creating an API endpoint to collect the entries from a signup form and store it in the database, it might look like this:
firstnameas field type
lastnameas field type
As you can see, there's a single function called Add Record which adds a single record to a given table. In the above example, it's adding to the
usertable. Let's see how you would use the Inputs being collected in this function:
As you can see, the Add Record function shows the database table columns on the left-hand side, and you can map it to anything you want on the right. In this case, we want to map it to the
firstnameinput we're collecting from the front-end, so we can select the input on the right and select the input we want to be mapped to the database column.
Currently, at this time, we can not process more than 10KB in a single request unless you are on an Enterprise plan.
If you want to rename one of your inputs, select it from the Inputs section. On the panel that opens, you can give your input a new name, and click the Save button.
If your input is referenced in other functions in your function stack, Xano will offer to populate this change for you. Click Update References to update the other places where your input is referenced, or choose Skip to leave them unchanged.
Last modified 1mo ago