In this blog post we talk about demonstrating a simple RESTful API using PHP.
A RESTful API is an application program interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data.
A RESTful API -- also referred to as a RESTful web service -- is based on representational state transfer (REST) technology, an architectural style and approach to communications often used in web services development.
Before getting into the core programming, we need to set up the URL rewriting conditions. URL rewriting is a technique that allows you to use a URL that actually goes to another URL within the same website. This is used mostly in dynamic database generated websites so the final URL is more Search Engine friendly. For our purpose in this API, we use it to format the API endpoints and make our web app point to the correct functions in the API.
A RESTful API is an application program interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data.
A RESTful API -- also referred to as a RESTful web service -- is based on representational state transfer (REST) technology, an architectural style and approach to communications often used in web services development.
Before getting into the core programming, we need to set up the URL rewriting conditions. URL rewriting is a technique that allows you to use a URL that actually goes to another URL within the same website. This is used mostly in dynamic database generated websites so the final URL is more Search Engine friendly. For our purpose in this API, we use it to format the API endpoints and make our web app point to the correct functions in the API.










