RFC 9457 Problem Details for HTTP APIs

1 year ago
53

HTTP Status codes are pretty broad and sometime people can figure them out but programs or application program interfaces (APIs) can't. This RFC looks to solve that problem ... especially for Joe.

Quoting from the RFC: HTTP status codes (Section 15 of [HTTP]) cannot always convey enough information about errors to be helpful. While humans using web browsers can often understand an HTML [HTML5] response content, non-human consumers of HTTP APIs have difficulty doing so.To address that shortcoming, this specification defines simple JSON [JSON] and XML [XML] document formats to describe the specifics of a problem encountered -- "problem details".

HTTP RFC - https://www.rfc-editor.org/info/rfc9110
JSON - https://www.w3schools.com/whatis/whatis_json.asp
XML - https://www.w3schools.com/whatis/whatis_xml.asp

If you are getting started, here is the RFC playlist: https://www.youtube.com/playlist?list=PLrancVv1TdY89L-MY9aES_5sF4P4Q6Kql

Other RFC videos:
TCP - https://youtu.be/_WH1Z8htjMo
ARP - https://youtu.be/SNdvVCR6-1w
ICMP - https://youtu.be/J-feWT3JUVE
TCP/IP Model - https://youtu.be/dZjrxH7nr-w

Books and other products for networkers

Packet Guide to Core Network Protocols: https://www.oreilly.com/library/view/packet-guide-to/9781449308094/

Packet Guide to Routing and Switching: https://www.oreilly.com/library/view/packet-guide-to/9781449311315/

Packet Guide to Voice over IP: https://www.oreilly.com/library/view/packet-guide-to/9781449339661/

Network Engineering Fundamentals: https://www.oreilly.com/videos/network-engineering-fundamentals/9781491932643/

Advanced Network Engineering: https://www.oreilly.com/videos/advanced-network-engineering/9781491952559/

Virtualization, Networking, and Storage: https://www.oreilly.com/videos/virtualization-networking-and/9781491970478/

Loading comments...