Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

Route /get-route returns 200 if auth_token is not provided but service_id is provided. #20

Open
geetikabatra opened this issue Dec 12, 2017 · 1 comment

Comments

@geetikabatra
Copy link
Contributor

geetikabatra commented Dec 12, 2017

POST call on /get-route with the following data returns 200 instead of 4XX.

POST https://3scale-connect.api.prod-preview.openshift.io/get-route
data = {"service_id" : <service-token>}
headers = {"content-type":"application/json"}

Output

<title>400 Bad Request</title>
<h1>Bad Request</h1>
<p>The browser (or proxy) sent a request that this server could not understand.</p>```
@geetikabatra geetikabatra changed the title Route get-route returns 200 if auth_token is not provided but service_id is provided. Route /get-route returns 200 if auth_token is not provided but service_id is provided. Dec 12, 2017
@geetikabatra
Copy link
Contributor Author

Fixed in #22

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant