03-13-2020 03:20 AM
Hi
I have a pipeline which takes data from a SQL select command and posts to a Service Now API to create a task. Service Now responds with the ID’s of the tasks which I want to post back to the SQL.
However when I run the POST command in Snaplogic, I seem to get no response back, the circle is blank. I know the API has worked as I can see the tasks in Service Now and If I run the API command in Postman, I get the ID’s returned.
How do I see the JSON response from the REST POST Snap?
03-18-2020 05:36 AM
Res square brackets [ ] .
03-18-2020 05:47 AM
Sorry, my spelling was awful.
I now get a red empty pair of red square brackets [ ]
03-18-2020 05:56 AM
GOT IT. Once I had saved the Snap it worked.
Thanks so much for your help.
03-18-2020 06:23 AM
The main problem was in the REST POST Snap, the response entity type was set to text, I switch this to default and it returned correctly formatted JSON, which I could extract.
Once again thanks for your help.
03-18-2020 07:08 AM
Glad to help solving the issue.
Regards
Dimche