aniesh82 Posted October 13, 2008 Share Posted October 13, 2008 Hi, Can someone help me in creating a REST service or post any URLs? Thanks in advance, Regrds, Joseph... Quote Link to comment https://forums.phpfreaks.com/topic/128149-creating-a-rest-web-service/ Share on other sites More sharing options...
AndyB Posted October 13, 2008 Share Posted October 13, 2008 something here - http://www.google.ca/search?q=REST+service&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a should give you a starting point. Quote Link to comment https://forums.phpfreaks.com/topic/128149-creating-a-rest-web-service/#findComment-663803 Share on other sites More sharing options...
aniesh82 Posted October 14, 2008 Author Share Posted October 14, 2008 I have searched on net and found that, REST service can be called by using a URL. So all the parameters are needed to append to the URL.. But it is possible to return the values as even xml format.. Does it possible to pass the values to Soap Server in xml format? Quote Link to comment https://forums.phpfreaks.com/topic/128149-creating-a-rest-web-service/#findComment-664726 Share on other sites More sharing options...
Lamez Posted October 14, 2008 Share Posted October 14, 2008 what is a REST service? Quote Link to comment https://forums.phpfreaks.com/topic/128149-creating-a-rest-web-service/#findComment-664727 Share on other sites More sharing options...
Maq Posted October 14, 2008 Share Posted October 14, 2008 REST Quote Link to comment https://forums.phpfreaks.com/topic/128149-creating-a-rest-web-service/#findComment-664732 Share on other sites More sharing options...
aniesh82 Posted October 14, 2008 Author Share Posted October 14, 2008 REST what is a REST service? Representational state transfer (REST) http://en.wikipedia.org/wiki/Representational_State_Transfer Using REST Web Services in PHP http://www.lyingonthecovers.net/?p=296 Quote Link to comment https://forums.phpfreaks.com/topic/128149-creating-a-rest-web-service/#findComment-664733 Share on other sites More sharing options...
MasterACE14 Posted October 14, 2008 Share Posted October 14, 2008 alot like apache's mod_rewrite ? Quote Link to comment https://forums.phpfreaks.com/topic/128149-creating-a-rest-web-service/#findComment-664736 Share on other sites More sharing options...
aniesh82 Posted October 14, 2008 Author Share Posted October 14, 2008 No.. I think, mod_rewrite is for rewriting the URL to user friendly URL But REST is a web service like SOAP. please have a look at the link below: http://en.wikipedia.org/wiki/Representational_State_Transfer Quote Link to comment https://forums.phpfreaks.com/topic/128149-creating-a-rest-web-service/#findComment-664740 Share on other sites More sharing options...
Lamez Posted October 14, 2008 Share Posted October 14, 2008 so its like verticals/cars/ford.html Quote Link to comment https://forums.phpfreaks.com/topic/128149-creating-a-rest-web-service/#findComment-664742 Share on other sites More sharing options...
aniesh82 Posted October 16, 2008 Author Share Posted October 16, 2008 Is it possible to send an XML file as an argument to REST API ? Quote Link to comment https://forums.phpfreaks.com/topic/128149-creating-a-rest-web-service/#findComment-666811 Share on other sites More sharing options...
redarrow Posted October 16, 2008 Share Posted October 16, 2008 xml and rest arnt php.......... Quote Link to comment https://forums.phpfreaks.com/topic/128149-creating-a-rest-web-service/#findComment-666814 Share on other sites More sharing options...
xylex Posted October 22, 2008 Share Posted October 22, 2008 REST is just another way of saying that you're using URL parameters. You can pass in an XML string as a value for one of the parameters, then parse it out if you wanted to, but I'm not sure why you would do this. XML is typically used for SOAP based services, not REST. If you're looking to go the SOAP route, look at NuSoap, Zend, the of course the built in stuff in PHP. Quote Link to comment https://forums.phpfreaks.com/topic/128149-creating-a-rest-web-service/#findComment-671475 Share on other sites More sharing options...
Maq Posted October 22, 2008 Share Posted October 22, 2008 xml and rest arnt php.......... You may be better off posting in a different section because this is really nothing to do with PHP anymore. Quote Link to comment https://forums.phpfreaks.com/topic/128149-creating-a-rest-web-service/#findComment-671741 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.