When a user submits a form, I want to use the values he set in an API call as parameters, how can I do that ?
You can use onSubmit Action on your form:
If you are using JSON for the body of the API you need to call, create a JSON template computed column first on the row:
Then, in your custom action, use that column as the body:
Set an endpoint and the method. Add required headers and queries for your API.
You can optionally want the result to be shown in another column. You can do that by setting the Response Body to a specific column.
Now, when a user submits the form, that action will be triggered and your API will be called.
@MaximeBaker thank you so much but i wanna use the form values in the params of the api not on the body with GET methode how can i do that please ?
Use the query section.
Yes you’re right, thank you so much
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.