Posts

Showing posts with the label Webservices in PHP

Webservices in PHP (How to create user registration/signup Webservice)

Image
  What is Webservices? Webservices are used to allow users to access data from different sources like the Android app, IOS app, website etc from a centralized database. We can create a web service through two methods : SOAP (Simple Object Access Protocol) REST (Representational State Transfer) SOAP (Simple Object Access Protocol) SOAP : Simple Object Access Protocol. SOAP is easy to read because SOAP based on XML. SOAP is the XML based format  for sending and receiving data. REST (Representational State Transfer) REST : Representational State Transfer. It is an architectural style that run over HTTP. REST webservices generate status code response in JSON & XML. REST support all HTTP methods GET, POST, PUT & DELETE. GET :  Retrieve particular resources by an id POST :   Create a new resource. PUT :  Update a  particular resource by an id. DELETE :  Remove a particular  resource. Click : https://phpgurukul.com/webservice...