PlantLink

БЕЗКОШТОВНО
(Ким) danwiding | Оновлено एक महीने पहले | Other
Популярність

0 / 10

Затримки

19ms

Рівень обслуговування

0%

Health Check

N/A

Повернутися до всіх обговорень

How to start

Rapid account: Boonty 13
Boonty13
4 वर्ष पहले

Hello,
I’m a beginner in the use of API and I don’t understand how yours works…
I tried to write to code snippet given for the list of plant with my own API Key :

var request = require(“request”);

var options = {
method: ‘GET’,
url: ‘https://plantlink.p.rapidapi.com/plants’,
headers: {
‘x-rapidapi-host’: ‘plantlink.p.rapidapi.com’,
‘x-rapidapi-key’: ‘myAPIkey’,
useQueryString: true
}
};

request(options, function (error, response, body) {
if (error) throw new Error(error);

console.log(body);

});

It returned :
{“message”:“Oops, an error occurred. Please contact support@rapidapi.com”}

Can you help me please ?

Приєднуйтесь до обговорення — додайте повідомлення нижче:

Вхід / Реєстрація, щоб публікувати нові повідомлення