This is a gist for holding images for the blogpost "Communicating Warning Information in HTTP APIs"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
André has been working as a developer in the eCommerce field for more than 15 years. He's currently employed as a ecommerce consultant and ruby developer at webionate GmbH where he's working for clients and on shipcloud.io. | |
In his free time he's doing "a lot" of sports. Preparing for his first marathon, triathlon and bicycle race in 2014. He is also one of the organizers of Rails Girls Hamburg. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTTP/1.1 400 BAD REQUEST | |
Content-Type: application/json | |
Warning: 214 - "Transformation Applied" "Fri, 04 Oct 2019 09:59:45 GMT" | |
{ | |
"errors": [ | |
{ | |
"detail": "The format of pickup time earliest was wrong. Please provide it in a ISO XXX format.", | |
"errorcode": "4F5G6H", | |
"instance": "", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTTP/1.1 200 OK | |
Content-Type: application/json | |
Warning: 214 - "Transformation Applied" "Fri, 04 Oct 2019 09:59:45 GMT" | |
{ | |
"errors": [], | |
"warnings": [ | |
{ | |
"detail": "Street name was too long. It has been shortened to fit the shipping label.", | |
"errorcode": "123456", |