how to concatenate two properties
I am trying to use two properties in REST API call ( size and fields). Following doesn't work. Coi;d someone help on the syntax?
Thanks,
Ye
curl -u USER:PASSWORD https://NameOfPortal.logicmonitor.com/santaba/rest/service/services?size=1000&?fields=name,id
Ye_Tao
Posted 8 years ago·Last reply 8 years ago
3 comments
Ye_Tao
OP8 years agoActually. with "\&", it works. Thansk
Ye_Tao
OP8 years agoNo, it doesn't work. The "fields=name,id" part seems not taken. The "&" sign seems acting as "put into background on MAC".
Sarah_Terry
·8 years agoHi @Ye Tao - You should remove the second ? character, so the URL looks like this:
Let me know if that doesn't work.
Thanks,
Sarah