How and why should you use JSON API in your Rails API? - Arkency Blog

  • Web site excerpt: How and why should you use JSON API in your Rails API? Crafting a well-behaving API is a virtue. It is not easy to come up with good standards of serializing resources, handling errors and providing HATEOAS utilities to your design. There are a lot application-level concerns you need to make - whether you want to send back responses in mutation requests (like PUT/PATCH/POST requests) or just use HTTP headers. And it is hard - and by hard I mean you need to spend some time to get it right. There are other things you need to be focused on which are far more important than your API. Good under...

  • Link to site: How and why should you use JSON API in your Rails API? - Arkency Blog