You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I curl with no query params, that's ok. I get my result. But if I curl with a query param, I've got an error:
curl -i -X GET --url "http://localhost:8000/stockmarket/prices?foo=bar" --header 'Host: demo-streamdataio.rhcloud.com'
HTTP/1.1 404 Not Found
Date: Fri, 21 Aug 2015 12:03:38 GMT
Content-Type: application/json; charset=utf-8
Connection: close
Server: kong/0.4.2
Via: kong/0.4.2
{"public_dns":["demo-streamdataio.rhcloud.com"],"message":"API not found with these values","path":"\/stockmarket\/prices?foo=bar"}
where this works fine:
curl -i -X GET --url "http://localhost:8000/stockmarket/prices/?toto=oto" --header 'Host: demo-streamdataio.rhcloud.com'
The text was updated successfully, but these errors were encountered:
Use $uri instead of $request_uri to allow path matching even if
querystring parameters are present.
FixKong#495
Former-commit-id: b0db7a107c938f183ef43922e197336b98f1df16
Use $uri instead of $request_uri to allow path matching even if
querystring parameters are present.
FixKong#495
Former-commit-id: b0db7a107c938f183ef43922e197336b98f1df16
source: https://groups.google.com/d/msg/konglayer/3OyuLEbi_ao/PwkuJiXxEgAJ
When I curl with no query params, that's ok. I get my result. But if I curl with a query param, I've got an error:
where this works fine:
The text was updated successfully, but these errors were encountered: