S
S
scriptnet hello2021-12-21 19:10:32
Node.js
scriptnet hello, 2021-12-21 19:10:32

How to send a get request with parameters?

There is a site with api https://shikimori.one/api/animes
How to make a get request with the score parameter
61c1fc410927c113524766.png
Code:

param = {'score': 3}
  request.get('https://shikimori.one/api/animes', params=param, function(err, response, body){
    console.log(body)
  });

I am using the request library

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question