Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

How to check validation API service respone in XML in API

askGp
Mega Explorer

An API is using for login purpose 

Next thing is to validate if api is valid credendtials 

API is generating response 

How to parse the response of specific item and print in logs

 

<?xml version="1.0" encoding="UTF-8" ?>
 <root>
     <Authuser>string</Authuser>
     <title>string</title>
     <status>0</status>
     <detail>string</detail>
     <instance>string</instance>
     <Token>string</Token>
 </root>
0 REPLIES 0