I can successfully create a search job with the help of the docs using a Curl command:
curl -u "userName" -k https://host:port/services/search/jobs -d search="encodedSearchQuery"
I get back the SID as expected:
When I try to translate this search to a REST Call with JSON body I cannot get it to work. For example if I use postman:
Request Body (JSON)
I get a 200 but no Search job created or SID returned.
Any tips to get this working?
Seems I had to post the data as Key Value pairs using Content Type application/x-www-form-urlencoded rather than a JSON request body.
View solution in original post