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

BAD REQUEST: Missing URI. Usage: GET /example/file.html #636

Open
sharmad1205 opened this issue Mar 15, 2023 · 1 comment
Open

BAD REQUEST: Missing URI. Usage: GET /example/file.html #636

sharmad1205 opened this issue Mar 15, 2023 · 1 comment

Comments

@sharmad1205
Copy link

I implemented the 'org.nanohttpd:nanohttpd:2.3.1'

but some of the times it gives as I checked in postman
BAD REQUEST: Missing URI. Usage: GET /example/file.html
but didn;t receive any call in serve method
override fun serve(session: IHTTPSession): Response {}

@GRIDMI
Copy link

GRIDMI commented Jan 29, 2024

I think you send BODY OF REQUEST via GET REQUEST. I had this problem before. I hope helped you.

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