This course will be retired on June 1, 2025.
Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
In this course, weβre going to take on the task of building a REST API in PHP. Even if you've never used an API before, the good news is that all applications function in the same way. They take in a request and return a response. When building a web application, that response is returned in an HTML format. When building a REST API, that response is most often returned in a JSON format, although there are other formats available, such as XML.
Before continuing this course, you should be familiar with the Basics of a REST API and using Postman. Additionally, we'll be using the Slim microframework to help us manage our code.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up