Shelby Switzer

@switzerly

shelbyswitzer.com

Love is a battlefield.

Your API

"No promises."

- Pat Benatar

"Know thine enemy's vendor media type and unique HTTP conventions."

- Sun Tzu

Content-Type: application/vnd.war+json

Request URL: www.example.org/api/v1/armies

Request Method: POST

Status Code: 200 OK

Body: { "errors": "Invalid credentials." }

Show me all the armies

"You may have to hit an endpoint more than once to win it."

- Margaret Thatcher

503 Service Unavailable

503 Service Unavailable

500 Internal Server Error

503 Service Unavailable

200 OK

"The devil will find work for idle SDKs to do."

- Morissey

 "I spent so many nights thinking how you did me wrong
And I grew strong
And I learned how to get along

And write my own adapters

And sometimes build proxies

And never trust APIs again."

- Gloria Gaynor

APIs are a Battlefield

By Shelby Switzer

APIs are a Battlefield

  • 1,760