Skip to content

Instantly share code, notes, and snippets.

View andrecedik's full-sized avatar

André Cedik andrecedik

  • https://www.kuehne-nagel.com
  • Hamburg, Germany
  • LinkedIn in/andrecedik
View GitHub Profile
@andrecedik
andrecedik / README.md
Last active April 1, 2020 12:17
Communicating Warning Information in HTTP APIs

This is a gist for holding images for the blogpost "Communicating Warning Information in HTTP APIs"

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",
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": "",
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.