I'm running the following curl command:
curl -D- -u somebody@somewhere.com:mypassword! -X POST -H "Content-Type: application/json" --data-binary '{ "fields": {"project":{ "key": "AID" },"summary":"test #10","description":"Test%20increase%0D%0AFrom%3A%20Keith%20Adams%20%3CKeith.Adams@sas.com%3E%0D%0ASent%3A%20Monday,%20August%2012,%202019%2010%3A11%20AM%0D%0ATo%3A%20Keith%20Adams%20%3CKeith.Adams@sas.com%3E%0D%0ASubject%3A%20test%20%2310%0D%0A%0D%0AThis%20is%20a%20test%20of%20the%20email%20to%20jira%20system.%0D%0A%0D%0A%0D%0AKeith%20Adams%0D%0Akeith.adams@sas.com%0D%0ASenior%20Manager%20%20%20%20%20%20%20%20%20%20","issuetype": {"name": "Issue" } }}'myjirarestapi
and I get a host of errors:
curl: (6) Could not resolve host: fields
curl: (3) [globbing] nested brace in column 10
curl: (6) Could not resolve host: key
curl: (6) Could not resolve host: AID
curl: (3) [globbing] unmatched close brace/bracket in column 1
curl: (3) [globbing] unmatched brace in column 1
curl: (6) Could not resolve host: Issue
curl: (3) [globbing] unmatched close brace/bracket in column 1
curl: (3) [globbing] unmatched close brace/bracket in column 1
This is on Windows 10.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.