Restful help/api page for builds query have curl example like this
curl -u <login name>:<password or access token> -G https://xx.xx.xx.xx/~api/builds --data-urlencode 'query="Job" is "Release"' --data-urlencode offset=0 --data-urlencode count=100
and this indeed works for linux, but windows doesn't eat '(apostrophe) sign , so actual curl example becames
curl -u <login name>:<password or access token> -G https://xx.xx.xx.xx/~api/builds --data-urlencode "query=""Job"" is ""Release""" --data-urlencode offset=0 --data-urlencode count=100
(or inner " must be terminated with \" which is uglier )
otherwise response will be 'unexpected query params : ['query] .
I know this is 'windows/platform specific' but maybe any comments or second line for windows will be good, or maybe someone will search this issue too.
Restful help/api page for builds query have curl example like this
and this indeed works for linux, but windows doesn't eat '(apostrophe) sign , so actual curl example becames
(or inner " must be terminated with \" which is uglier )
otherwise response will be 'unexpected query params : ['query] . I know this is 'windows/platform specific' but maybe any comments or second line for windows will be good, or maybe someone will search this issue too.