Hello, i am trying to create users on Softr solution with their api script, i tried to put in a script on airtable but it show me an error.
I need to integrate records data (name, email etc.)
here is the code :
curl --request POST 'https://studio-api.softr.io/v1/api/users' \
--header 'Softr-Api-Key: F00xq00gpZf8TLCFYsbsSa7CzRO' \
--header 'Softr-Domain: app.softr.app' \
--header 'Content-Type: application/json' \
It looks like you just publicly posted an API key. If this was your actual API key (versus a dummy documentation key) I recommend that you change it immediately.
fetch request. It is a very different format. You can Google how to convert a CURL request to a fetch request.
no its an edited api key, i add some caracters
i used a website that convert to fetch (cURL to Fetch)
i can see that the parameters are gone :/
i need to parse those data from every record
any advice ?
@JAN - have a look at this post - it has a similar goal and gives you the fetch pattern you need. You need an additional attribute on the
fetch options for
body (which contains the data you want to POST to the API.