Prison Break API Documentation

This page will help you get started with testing this API.

Getting Started

This is the reference guide on how to use this REST API. Step-by-step instructions will be provided on how to use each endpoint, and code samples in various languages will be displayed to show you how to test them. You could also click the "Try It!" button to see the code fetch the data from the database. Follow the link below to get started.

The sample code displayed gets changed a bit and would require extra headers to be used if you click the "Try It!" button before copying the code. If you intend to copy the sample code from the documentation, do so before clicking "Try It!". If you happen to have already clicked "Try It!", in the response box where you see "log", there is a "Clear response" button. Click it to reset the sample code before copying it.

This is what the sample code looks like before you click "Try It!":

curl --request GET \
     --url https://prisonbreakapi.me/api/episodes

This is what it looks like after clicking "Try It!":

curl --request GET \
     --url https://try.readme.io/https://prisonbreakapi.me/api/episodes

This is the response you would get if you use the code copied after clicking "Try It!":

curl --request GET \
     --url https://try.readme.io/https://prisonbreakapi.me/api/episodes
     
Missing required request header. Must specify one of: origin, x-requested-with

That was due to the "https://try.readme.io/" prepended to the original URL.

Happy API testing!!!