legacy-api-documentation
legacy-api-documentation copied to clipboard
Can't upload a photo with a description spanning multiple lines
If my photo's description contains \n
, then the POST photo
method fails with HTTP status 500 and body
{\"error\":\"Internal Server Error\",\"status\":500}
If I replace \n
with <br/>
, then the method succeeds, but I get a literal <br/>
in the description. Please document how to insert a newline in the description.