Skip to content
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

Endpoints Fail. #2

Open
laranicolas opened this issue May 29, 2017 · 3 comments
Open

Endpoints Fail. #2

laranicolas opened this issue May 29, 2017 · 3 comments

Comments

@laranicolas
Copy link
Contributor

laranicolas commented May 29, 2017

I always receive same response, seems I'm not using right endpoint.

Response:

{
  "detail": "The requested URL was not found on the server.  If you entered the URL manually please check your spelling and try again.",
  "status": 404,
  "title": "Not Found",
  "type": "about:blank"
}

Endpoints I have tried:

POST http://localhost:9091/api/room
POST http://localhost:9091/api/room/
POST http://localhost:9091/room
POST http://localhost:9091/room/

Also I can't access to swagger UI.

Any idea?

@boumanb
Copy link

boumanb commented Dec 3, 2017

Hi,

The basePath configured in swagger/indexer.yaml is "/1.0" so try GET http://localhost:9091/1.0/room

@JonnyDaenen
Copy link

This worked for me: http://localhost:9090/v1.0/ui/
(don't forget to adjust the port if necessary)

@boumanb your url did not work for me.

@arianpasquali
Copy link

Apart from fixing the error as @JonnyDaenen mentioned,
edit requirements.txt as:

Flask
connexion
injector==0.12.0
Flask-Injector
fastavro
elasticsearch
boto

swagger ui endpoint will be available at:
http://localhost:9091/1.0/ui/

I hope this heps someone

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

No branches or pull requests

4 participants