You need to sign in to do that
Don't have an account?
Ganesh Babu 7
Apex rest callout - Sample
Can anyone help me on getting below data , some sample endpoint URL and response as XML.
New to Integration, learning how the parse json and xml from response. I have one url for json( https://api.androidhive.info/contacts/) but not for xml.
Thanks in Advance.....
HttpRequest req=new HttpRequest();
req.setendpoint(' ? ');
req.setmethod('GET');
http req1=new http();
httpResponse xmlresponse=req1.send(req);
New to Integration, learning how the parse json and xml from response. I have one url for json( https://api.androidhive.info/contacts/) but not for xml.
Thanks in Advance.....
HttpRequest req=new HttpRequest();
req.setendpoint(' ? ');
req.setmethod('GET');
http req1=new http();
httpResponse xmlresponse=req1.send(req);
Please use below code for xml parsing:-
if you need any assistanse, Please let me know!!
Kindly mark my solution as the best answer if it helps you.
Thanks
Mukesh
All Answers
Please use below code for xml parsing:-
if you need any assistanse, Please let me know!!
Kindly mark my solution as the best answer if it helps you.
Thanks
Mukesh
I have searched it in google, but i am not getting one to test it.
Thanks again....