Skip to content

Instantly share code, notes, and snippets.

Created September 29, 2014 03:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/b76c4cb03ebe260c9cf9 to your computer and use it in GitHub Desktop.
Save anonymous/b76c4cb03ebe260c9cf9 to your computer and use it in GitHub Desktop.
JSONh
##############
Http Response Code: 200 OK
##############
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta name="status" content="409"/>
</head>
<body class="X-LProd-API-Response">
{&quot;errorCode&quot;:&quot;ItemExists&quot;,&quot;errorMessage&quot;:&quot;EJPVJ9161E: Unable to add, edit or delete additional files for the media with the ID fc276024-918b-489d-9b51-33455ffb5ca3.&quot;}
</body>
</html>
##############
the request returns a 200
to say that it is actually a 409
and the message is json encoded inside html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment