As with the api to accept only those objects that have a certain property?

axios.defaults.headers.common['x-api-key'] = process.env.VUE_APP_ANIMALS
let response = await axios.get('https://api.thedogapi.com/v1/images/search', {params: {limit:50 , size: "full"}})


How to take just 20 objects which have the property breeds?
Now take 50 and filtered, which is not very nice.
By the way, how to write the above code using fetch?
April 7th 20 at 11:09
1 answer
April 7th 20 at 11:11
Hi, the client accepts the transfer from the server. So either there is a filtration on the client or on the server should be another option and the server should give correct result.

Find more questions by tags JavaScriptAPI