I am trying to mimic this Postman Post request:
POST /api/now/table/incident HTTP/1.1
Host: arrowdev.service-now.com
Accept: application/json
Authorization: Basic cmVzdF91c2VyX2lvdDpCQ1dlYjlWKWV9IyNXQmoy
Content-Type: application/json
Cache-Control: no-cache
Postman-Token: 34da63cb-4d25-f7aa-17b2-d11679988b9b
{"short_description":"Test with java post"}
I cannot seem to duplicate this with the Call REST Service task. My URI (
https://arrowdev.service-now.com/api/now/table/incident) has no parameters. I selected TLS 1.2 and Basic Authentication. I added my user name and password. I entered application/json for Content type. I clicked both Retrieve Input Schema and Output Schema. I put this for Payload: {"short_description":"Test with java post"}
When I click on Input Mapping, I receive an error ("Properties are not defined.").
I saved and deployed the Snap-In. Upon execution, I receive this: Error encountered during execution of REST Service task: CertPathValidatorException: Certificate chaining error
Can you tell me what I am missing? My Postman call works so I know that the web service likes what I am sending.