javascript - How to Get Response From rest URL using jquery -


i have url https://aua.maharashtra.gov.in/aua/rest/checkauastatus

when visit url in browser, xml response. want collect response in string using javascript or jquery. tried many things nothing worked.

please me response in string.

try this:

$.ajax({    type:'post',    url:'https://aua.maharashtra.gov.in/aua/rest/checkauastatus',    success: function(response)    {       alert(response);    } 

just see if expected reponse coming or not. hope helps.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -