# Simple GET request looking for blank values

**URL:** <https://community.postman.com/t/simple-get-request-looking-for-blank-values/29137>\
**Category:** Help Hub\
**Created:** [October 27, 2021, 10:25am UTC](https://community.postman.com/t/simple-get-request-looking-for-blank-values/29137 "2021-10-27T10:25:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KettyBartholinPeders](https://avatars.discourse-cdn.com/v4/letter/k/f4b2a3/32.png) [@KettyBartholinPeders](https://community.postman.com/u/KettyBartholinPeders)\
**Post date:** [October 27, 2021, 10:25am UTC](https://community.postman.com/t/simple-get-request-looking-for-blank-values/29137/1 "2021-10-27T10:25:20Z")

</div>

**Your question may already have an answer on the community forum. Please search for related topics, and then read through the [guidelines](https://community.postman.com/t/about-the-just-getting-started-category/37) before creating a new topic.**

> Here’s an outline with best practices for making your inquiry.

I’m pretty new to Postman and all searches done on the internet doesn’t seem to cover this issue.  
I have this MySQL request:  
SELECT \* FROM samples WHERE gender IS NULL OR gender = “”  
which I want to use in Postman as well.  
I have tried several variations of  
GET https:xxx/samples/?gender=  
But keep getting all entries in the Samples table.  
Is it not possible to do such searches using Params or Body?  
Should I instead use the Pre-request script?  
BR Ketty

---

<div class="post-metadata">

**Author:** ![bpricilla](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/bpricilla/32/6511_2.png) [@bpricilla](https://community.postman.com/u/bpricilla)\
**Post date:** [October 28, 2021, 1:20am UTC](https://community.postman.com/t/simple-get-request-looking-for-blank-values/29137/2 "2021-10-28T01:20:40Z")

</div>

@KettyBartholinPeders Welcome to the community 🥳

You should be seeing those details in your documentation. The types of filters will be set in that.

Just by eyeballing I find that in your URL, it should be as below:

```auto
GET https:xxx/samples?gender=

```

Try if this is working, else kindly check the documentation. Different API handle the querying in different ways. Some use Query params, some will use filter.

---

<div class="post-metadata">

**Author:** ![KettyBartholinPeders](https://avatars.discourse-cdn.com/v4/letter/k/f4b2a3/32.png) [@KettyBartholinPeders](https://community.postman.com/u/KettyBartholinPeders)\
**Post date:** [November 4, 2021, 9:09am UTC](https://community.postman.com/t/simple-get-request-looking-for-blank-values/29137/3 "2021-11-04T09:09:13Z")

</div>

Thank you 😀  
[https://xxx/samples/?date\_created=2021-08-04](https://xxx/samples/?date_created=2021-08-04) gives me three records, where one record has “gender”: “Female”, and the two other records have “gender”: “”,

If I then try [https://xxx/samples/?date\_created=2021-08-04&gender=Female](https://xxx/samples/?date_created=2021-08-04&gender=Female)  
I only get the one record with “gender”: “Female”, but how do I get the ones with “gender”: “”,?
