Closed denizcdemirci closed 8 months ago
When I send an incorrect value to the authorization header, I get a positive response with a status code of 200 OK instead of the expected 401. In this case, it should have returned 401.
For example, the incorrect request is as follows:
curl 'https://api.wope.com/properties/space/project' \ -H 'authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9, Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
Fixed with #43
When I send an incorrect value to the authorization header, I get a positive response with a status code of 200 OK instead of the expected 401. In this case, it should have returned 401.
For example, the incorrect request is as follows: