Fogbugz API - formatting data sent to sEvent field

I use the Fogbugz API (v6.0) to send new cases from some error code code.

I cannot find the correct syntax to put line breaks in the case description field.

sample api call:

http://fogbugz.somesite.com/api.asp?token=b99n6u07v8qrsoqq4710ukogff5u18&cmd=new&sTitle=www.somesite.com|/ajaxRTF.asp|Permission denied&ixProject=209&ixArea=&sEvent=500 Page Error<linebreak>www.somesite.com<linebreak>Error Generated: 0x800A0046 Microsoft VBScript runtime /ajaxRTF.asp 582 -1 Permission denied&fScoutStopReporting=1&sPersonAssignedTo=Andrew Davies&sScoutDescription=www%2Ei%2Dleeds%2Enet%7C%2FajaxRTF%2Easp%7CPermission+denied 

I want to have line breaks where <linebreak>in the code above. So, when in the case viewed in the FB browser, it is correctly formatted

eg.

500 Page Error

www.somesite.com

Error: 0x800A0046 Runtime Microsoft VBScript / ajaxRTF.asp 582 -1 Permission denied

Thanks in advance,

Andy

+3
source share
1 answer

% 0A represents the newline character encoding.

% 0D% 0A - /, % 0D .

+3

Source: https://habr.com/ru/post/1713059/


All Articles