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)); ```
아래에 의견을 추가하고 토론에 참여하세요.
@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… :