364
Views
1
Comments
Consuming REST API returns error 'The server committed a protocol violation..."
Question

Hi,

I am consuming a REST API using the GET method. The API works when I call it from a web browser, but returns the following error when it is called from OutSystems. 

The server committed a protocol violation. Section=ResponseStatusLine

The API is hosted on a local internal server and is one we have built ourselves. The output looks normal when called in a browser.

Any thoughts on how to fix this or what this error means would be greatly appreciated.

Thanks in advance,

Zoe Harris

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

It seems your REST API commits, well, a protocol violation. See this stackoverflow thread, and especially this answer.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.