title: {"errorMessages":["Unexpected character (''' (code 39)): expected a valid value
body: <p>I found "Query using POST" from <a href="https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-query-issues" rel="noreferrer">here</a>.</p>
  
  <p>And tried to use curl command from command like. Installed curl by refering <a href="https://support.zendesk.com/hc/en-us/articles/203691436-Installing-and-using-cURL" rel="noreferrer">this</a> for windows.</p>
  
  <p>Here is my CURL string:</p>
  
  <pre><code>curl -D- -u admin:password -X POST -H "Content-Type: application/json" --data 
  '{"jql":"project = CI","startAt":0,"maxResults":50,"fields":["summary","status","assignee"]}' 
  "https://myclientname.atlassian.net/rest/api/2/search"
  </code></pre>
  
  <p>This is how I'm doing and getting error:</p>
  
  <pre><code>{"errorMessages":["Unexpected character (''' (code 39)): expected a valid value
  (number, String, array, object, 'true', 'false' or 'null')\n
  at [Source: org.apache.catalina.connector.CoyoteInputStream@1626cb2; line: 1, column: 2]"]}
  </code></pre>
  
  <p>Is there any problem making this curl string in windows? Please suggest? How can I correct this and get JSON object? Please note that, userID, password and client name is correct. Thanks.</p>