in this post is a description about getting filtered records by post:
for example:
curl -X POST ‘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