# Get records by post

**URL:** <https://community.dreamfactory.com/t/get-records-by-post/4647>\
**Category:** REST API\
**Created:** [October 11, 2018, 4:46pm UTC](https://community.dreamfactory.com/t/get-records-by-post/4647 "2018-10-11T16:46:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mimu](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mimu/32/1183_2.png) [@mimu](https://community.dreamfactory.com/u/mimu)\
**Post date:** [October 11, 2018, 4:46pm UTC](https://community.dreamfactory.com/t/get-records-by-post/4647/1 "2018-10-11T16:46:43Z")

</div>

in this post is a description about getting filtered records by post:

> **[NoSQL, No Problem! - MongoDB Specifics - API Blog: Everything You Need to Know](https://blog.dreamfactory.com/NoSQL-No-Problem-MongoDB-Specifics/)**
>
> For the third installment on this blog series on DreamFactory Services Platform (DSP) support for NoSQL, I wanted to include a little more information on how to use MongoDB as a service. As you may or may not know, MongoDB is the leading NoSQL...

for example:

curl -X POST ‘[https://dsp-mydspname.cloud.dreamfactory.com/rest/mongo/zipcodes?limit=3&fields=city%2Cstate%2CPopulationOver40](https://dsp-mydspname.cloud.dreamfactory.com/rest/mongo/zipcodes?limit=3&fields=city%2Cstate%2CPopulationOver40)’   
-H ‘X-HTTP-METHOD: GET’   
-H ‘Content-Type: application/json’   
-d ‘{“filter”: { “pop”: { “$gt”: 20000 } } }’

This works fine.

i’am trying to use such a filter (with regex to search caseinsensitive) in the payload but i c’ant get it to work:

{“filter”: { “Note”: /._bohr._/i }}

in mongoshell it works perfect  
db.getCollection(“TelefonNotiz”).find(  
{  
“Note” : /._bohr._/i  
}  
);  
After each dot is a star which is not shown in this forum

Please Help
