Data filtering by Url

Asked

Viewed 47 times

0

In the code below I’m making a request to the Marvel api.

const api = axios.create({
    baseURL: `https://gateway.marvel.com:443/v1/public`, 
    version: 'Cable',
});

`api.get(`/characters?ts=${ts}&apikey=${publicKey}&hash=${md5(`${ts}${privateKey}${publicKey}`)}`, {
     params: {
       limit: 20, 
   },`

I wonder if there’s a way to go through the url, or even the params, a filter that returns all the characters that start with the letter A, for example.

  • already consulted the documentation of the API? if you have this possibility will be there

1 answer

0


  • It worked, thank you very much!!!

  • If the Answer was useful, accept it as such! hehe

Browser other questions tagged

You are not signed in. Login or sign up in order to post.