SEO extraction

FREEMIUM
Par Charles Anssens | Mise à jour a month ago | Tools
Popularité

9.3 / 10

Latence

2,139ms

Niveau de service

99%

Health Check

N/A

Retour à toutes les discussions

Always getting 400 error: Bad Request

Hi there,
can you help me understand why I’m always getting 400 error when I’m trying to use your API?

Rapid account: Igorbrandprotectionai Gpxb Df MQJ 5 L
igorbrandprotectionai-GpxbDfMQJ5L Commented 2 years ago

@Canssens, thank you for your reply.

Unfortunately, I’m still facing same issue:
AirTable Scripting App
AirTable Scripting App JS

Rapid account: Canssens
Canssens Commented 2 years ago

Another point, maybe you should update your first post because it shows your api key.

Rapid account: Canssens
Canssens Commented 2 years ago

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));
	```

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires