NanoHttpd / nanohttpd

Tiny, easily embeddable HTTP server in Java.
http://nanohttpd.org
BSD 3-Clause "New" or "Revised" License
6.89k stars 1.69k forks source link

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

Open sharmad1205 opened 1 year ago

sharmad1205 commented 1 year ago

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 commented 5 months ago

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