p de Podcast

O resto do REST


Listen Later

Qual a forma correta de utilizar o PATCH? Conhece o JSON-patch? É mesmo tão importante a tal idempotência? Como você versiona suas APIs? Confira!

Participantes

Marcio Frayze David   

https://twitter.com/marciofrayze  
https://segunda.tech  
https://masto.donte.com.br/web/accounts/138458  

  

Julianno Martins Silva  

https://twitter.com/juliannoms


Links:

https://medium.com/gin-and-tonic/understanding-idempotency-in-rest-apis-7a5568f41406

https://medium.com/hashmapinc/rest-good-practices-for-api-design-881439796dc9

https://medium.com/@mwaysolutions/10-best-practices-for-better-restful-api-cbe81b06f291

https://developer.mozilla.org/pt-BR/docs/Web/HTTP/Methods/OPTIONS3

https://www.baeldung.com/spring-rest-custom-media-type

https://tools.ietf.org/html/rfc6902

https://tools.ietf.org/html/rfc5789

https://williamdurand.fr/2014/02/14/please-do-not-patch-like-an-idiot/

Exemplo de como utilizar Patch no Spring: https://www.baeldung.com/spring-rest-json-patch

Exemplo de como utilizar no ASP.NET Core: https://docs.microsoft.com/en-us/aspnet/core/web-api/jsonpatch?view=aspnetcore-5.0

RFC 6902 defines a JSON document structure: https://tools.ietf.org/html/rfc6902

Headers http: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers

Cross-Origin Resource Sharing (CORS): https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS

...more
View all episodesView all episodes
Download on the App Store

p de PodcastBy Marcio Frayze David e Julianno Martins Silva