Closed kchapple closed 8 years ago
To get response { "error": "Unauthenticated." } set your headers using Postman Accept header to application/json Content-Type header to application/json http://storage6.static.itmages.com/i/16/0926/h_1474890624_3476390_568cdab974.png Also added response for login route on Unauthorised request in browser https://github.com/LibreEHR/fhir/pull/41
To reproduce, browse to https://gponline-fhir.vu2vu.com/fhir/Appointment?patient=1 without siging in.
Expected: Response should be an OperationOutcome with a 401 Unauthorized and potentially OperationOutcome error message.
Actual: redirect to /login route and get exception