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

Can not run API #6

Open
vietlib opened this issue Apr 30, 2020 · 1 comment
Open

Can not run API #6

vietlib opened this issue Apr 30, 2020 · 1 comment

Comments

@vietlib
Copy link

vietlib commented Apr 30, 2020

i have installed demo and try to access: http://127.0.0.1:3000/user
however, i got this: The system cannot find the file specified. (os error 2)

Also, tried: http://127.0.0.1:3000/user/00000000-0000-0000-0000-000000000000
and get this
[2020-04-30T05:49:58Z INFO actix_web::middleware::logger] 127.0.0.1:52709 "GET /user/00000000-0000-0000-0000-000000000000 HTTP/1.1" 404 55 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36" 0.000000
The system cannot find the path specified. (os error 3)

@sbignell
Copy link

Does http://127.0.0.1:3000/index.html work?

If you scroll down in the readme to the 'Endpoints' section you'll see you need to put '/api/v1/user' instead of '/user' but I think you'll find you need to be authenticated before trying that, so first, just see if the index.html shows correctly.

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

2 participants