Discoverp de PodcastO resto do REST
O resto do REST

O resto do REST

Update: 2020-11-27
Share

Description

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   

marcio@segunda.tech  

https://twitter.com/marciofrayze  

https://segunda.tech  

https://masto.donte.com.br/web/accounts/138458  


  


Julianno Martins Silva  

juliannoms@gmail.com  

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

Comments 
loading
00:00
00:00
1.0x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

O resto do REST

O resto do REST

Marcio Frayze David e Julianno Martins Silva