xml - API request and respond in HTML? -


currently want api in website.

lets apikey, write link in process.php file

<a href="http://api.aaa.com/rest/?&apikey=75be12309809zzsd0zsdsdd&imagesid=19232"> image-search </a> 

so when click link access api.aaa.com..

then respond xml data on http://api.aaa.com/rest/?&apikey=75be12309809zzsd0zsdsdd&imagesid=19232

<rsp stat="ok"> <br>    <image> <br>       <size label="blog" width="315" height="400" format="jpg" price="1"/><br>       <size label="web" width="615" height="779" format="jpg" price="2"/><br>    </image> <br> </rsp> <br> 

well.. xml response api. how render html under own website?


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -