legacy-api-documentation icon indicating copy to clipboard operation
legacy-api-documentation copied to clipboard

Can't upload a photo with a description spanning multiple lines

Open mardy opened this issue 6 years ago • 0 comments

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.

mardy avatar Dec 09 '17 12:12 mardy