Rustam Mehmandarov

API = Some REST and HTTP, right? RIGHT?!

Is your API returning a 500 error for a downstream failure? Learn the common pitfalls and design patterns for building truly robust APIs.

API = Some REST and HTTP, right? RIGHT?!
#1about 2 minutes

The challenges of building and maintaining APIs

Building an API is one thing, but maintaining it or inheriting a poorly designed one presents a significant challenge for developers.

#2about 3 minutes

Lessons learned from the era of SOAP APIs

SOAP APIs offered strong contracts through WSDL files but suffered from verbosity and complex code generation workflows.

#3about 3 minutes

Properly using HTTP status codes for errors

Avoid returning a generic 500 error for client-side or downstream issues by using the correct HTTP status codes to provide meaningful feedback.

#4about 3 minutes

Understanding the role of hypermedia in true REST APIs

Moving beyond simple JSON endpoints, true REST APIs use hypermedia (HATEOAS) to provide clients with links for discoverable actions.

#5about 3 minutes

Comparing different API versioning strategies

APIs can be versioned through URL paths, custom request headers, or media types, each with its own trade-offs for discoverability and implementation.

#6about 2 minutes

A practical guide to deprecating old API versions

Effectively deprecate old API endpoints by providing warnings, using temporary or permanent redirects, and logging usage to manage the transition.

#7about 3 minutes

Automating API documentation with OpenAPI specifications

Instead of manually writing static documentation, use annotations to auto-generate a living OpenAPI specification that serves as a reliable API contract.

#8about 3 minutes

Securing APIs with JWT, RBAC, and CORS

Secure API endpoints by implementing authentication with JWT, managing authorization with role-based access control (RBAC), and correctly configuring CORS.

#9about 3 minutes

Implementing advanced patterns like pagination and bulk operations

Improve API performance and usability with advanced patterns such as pagination, filtering, sorting, asynchronous processing, and bulk create/update operations.

#10about 2 minutes

Exploring alternatives to REST like gRPC and GraphQL

While REST is common, alternatives like the high-performance binary protocol gRPC or the flexible query language GraphQL can be better for specific use cases.

Related jobs
Jobs that call for the skills explored in this talk.

asasd

Expire

Remote
Junior

test

Milly
Vienna, Austria

Intermediate

Featured Partners

Related Articles

View all articles
CH
Chris Heilmann
Dev Digest 139 - Soft and hard queries
News and ArticlesLet's start with Amelia Wattenberger's excellent essay Bridging the hard and the soft talking about humans and data. Do you sometimes also miss aspects of the early web like a lack of big data and freedom to create without numeric go...
Dev Digest 139 - Soft and hard queries
CH
Chris Heilmann
All the videos of Halfstack London 2024!
Last month was Halfstack London, a conference about the web, JavaScript and half a dozen other things. We were there to deliver a talk, but also to record all the sessions and we're happy to share them with you. It took a bit as we had to wait for th...
All the videos of Halfstack London 2024!
AP
Anto Pranjić
That was WeAreDevelopers World Congress 2022
Thank you, danke, hvala, merci, gracias, Дякую – we don’t know yet exactly how many languages were spoken here at the City Cube Berlin over the last two days, but thank you 10 000 times to everybody who joined us here for WeAreDevelopers World Congre...
That was WeAreDevelopers World Congress 2022

From learning to earning

Jobs that call for the skills explored in this talk.

API Engineer

API Engineer

Axiom Software Solutions

GIT
JIRA
Node.js
Ansible
Confluence
+1
API Designer

API Designer

Krell Consulting & Training

Remote
Intermediate
Performance Testing
API Developer

API Developer

Indicate Data GmbH

Intermediate
JSON
GraphQL