Hi there, can you help me understand why Iโm always getting 400 error when Iโm trying to use your API?
@Canssens, thank you for your reply.
Unfortunately, Iโm still facing same issue: AirTable Scripting App JS
Another point, maybe you should update your first post because it shows your api key.
Hello Igor,
I think you have to adapt the way that you send the post data (we use form data). This is an example, you may adapt it to support async and headersโฆ :
var formdata = new FormData(); formdata.append("url", "https://www.google.com"); var requestOptions = { method: 'POST', body: formdata, redirect: 'follow' }; fetch("https://....", requestOptions) .then(response => response.text()) .then(result => console.log(result)) .catch(error => console.log('error', error)); ```
Join in the discussion - add comment below:
@Canssens, thank you for your reply.
Unfortunately, Iโm still facing same issue:
AirTable Scripting App JS
Another point, maybe you should update your first post because it shows your api key.
Hello Igor,
I think you have to adapt the way that you send the post data (we use form data).
This is an example, you may adapt it to support async and headersโฆ :