-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redirect api calls ending without forward slash and unversioned call to /api #134
Comments
unversioned URLs will be the default in |
It would be cool to have a landing page as well. A configuration option would be cool to either redirect users or showing the landing page. The landing page should answer the following questions
|
As I understand the next behavior is expected:
@ridoo am I right? |
version
The first two cases should be done by configuring a welcome file within
The third part should redirect to that landing/welcome page. |
(cherry picked from commit 9018961)
will also fix #110 |
http://insitu.webservice-energy.org/52n-sos-webapp/api/v1 returns a 404, http://insitu.webservice-energy.org/52n-sos-webapp/api/v1/ returns the desired response.
IMHO
..api/v1
should be redirected to..api/v1/
.Similarly, http://insitu.webservice-energy.org/52n-sos-webapp/api/ and http://insitu.webservice-energy.org/52n-sos-webapp/api (both return a 404 error) should be redirected to
../api/v1/
.The text was updated successfully, but these errors were encountered: