Sergei_Genchev_
Jul 24, 2014Nimbostratus
How can I use logical operators within REST query?
Hi,
Documentation for REST tells me that I should be able to use logical operators like eq, ne, lt, gt, and, or, etc. but I cannot find a single example on how to actually do it.
Say, I am trying to get information about node(s) that have an IP address 1.1.1.1. I am trying things like:
curl -k -u user:pass -X GET https://ltm.example.com/?\$select=address&address%20eq%201.1.1.1
curl -k -u user:pass -X GET https://ltm.example.com/?address%20eq%201.1.1.1
I could not find anything that works. Can someone point me to the right direction?
Thank you!