Search code examples
apirequestpostmanimgur

How to set up multiple query parameters for Imgur API's search endpoints


I'm trying to get the URLs of multiple images using Imgur's Gallery Search API.

I ran a test of the API using Postman and was able to get a response.
enter image description here

I then used the q_size_px parameter to specify the size of the image to get.

enter image description here

Status is 200, but I didn't get anything back.

Is there a way to specify multiple parameters for a query?
I want to specify the image size and multiple image types.


Solution

  • From https://api.imgur.com/endpoints/gallery#gallery-search :

    enter image description here

    SO if you use q_size_px it will ignore you q parameter

    So you cant search for multi type and size in same time, you need to do multiple request for each file extenssion