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

404 page not found error #1

Open
datacrud8 opened this issue Aug 29, 2023 · 1 comment
Open

404 page not found error #1

datacrud8 opened this issue Aug 29, 2023 · 1 comment

Comments

@datacrud8
Copy link

I can build and run the app but when we run this http://localhost:5000/
its throwing below error. Can you able to check? and provide right code base.

127.0.0.1 - - [29/Aug/2023 15:36:08] "GET / HTTP/1.1" 404 -
127.0.0.1 - - [29/Aug/2023 15:36:29] "GET / HTTP/1.1" 404 -
127.0.0.1 - - [29/Aug/2023 15:36:29] "GET /favicon.ico HTTP/1.1" 404 -
127.0.0.1 - - [29/Aug/2023 15:37:47] "GET / HTTP/1.1" 404 -

Not Found
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

@shamspias
Copy link
Owner

shamspias commented Aug 30, 2023

use
localhost:5000/ask
for endpoint
then make a post request send these two parameters

{
    "question": String
    "use_mock_data": Boolean (instead of connect db use test data to check working or not, if use DB then keep it false) 
}

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