Better Programming

Advice for programmers.

Follow publication

Member-only story

3 Better Ways to Handle REST API Versioning

Tanmay Deshpande
Better Programming
Published in
4 min readApr 21, 2021

Photo by Aaron Burden on Unsplash

New Attributes in Schema

/v1/products{ "name" : "abc",
"id" : 1,
"price" : 30,
"description" : "All good stuff about abc"
}
/v1/products{ "name" : "abc",
"id" : 1,
"price" : 30,
"description" : "All good stuff about abc",
"stock" : 10
}

PATCH over PUT

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Tanmay Deshpande
Tanmay Deshpande

Written by Tanmay Deshpande

I write about technology in simple words!

Responses (2)

Write a response