SEO extraction

FREEMIUM
От Charles Anssens | Обновлено месяц назад | Tools
Популярность

9.2 / 10

Задержка

2,145ms

Уровень обслуживания

99%

Health Check

N/A

Назад ко всем обсуждениям

Always getting 400 error: Bad Request

Rapid account: Igorbrandprotectionai Gpxb Df MQJ 5 L
igorbrandprotectionai-GpxbDfMQJ5L
2 года назад

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 года назад

@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 года назад

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

Rapid account: Canssens
Canssens Commented 2 года назад

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

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии