freme-project / freme-ner

Apache License 2.0
6 stars 1 forks source link

Change redirects #8

Closed jnehring closed 9 years ago

jnehring commented 9 years ago

Please change the redirects of all FREME NER endpooints. Right now it is implemented as a redirect with status code 307 and the Location header. This confuses the API tester (see freme-project/Documentation#31). Please make it a proxy redirect so the FREME broker calls the external service and redirects the output to the browser so the user does not see that it is a redirect.

In case the external service is not reachable please throw an "ExternalServiceFailed" exception.

jnehring commented 9 years ago

Updated description

nilesh-c commented 9 years ago

Fixed.