Confirmed users
927
edits
Tarek.ziade (talk | contribs) |
Tarek.ziade (talk | contribs) |
||
Line 154: | Line 154: | ||
'''POST''' '''https://''server''/''report'' ''' | '''POST''' '''https://''server''/''report'' ''' | ||
Reports a log to the server. The log is the body of the request. If the response contains a ''X-KeyEchange-Log'', its value is prep-ended to the log provided in the body. In other words, the header can be used for small logs, and the body for more info. The body size is limited to 2000 chars. | Reports a log to the server. The log is the body of the request. If the | ||
response contains a ''X-KeyEchange-Log'', its value is prep-ended to the | |||
log provided in the body. In other words, the header can be used for | |||
small logs, and the body for more info. The body size is limited to | |||
2000 chars. | |||
Return codes: | Return codes: | ||
- 200: logged successfully | - 200: logged successfully |