You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I run the following code on terminal:
curl -X POST "http://127.0.0.1:8020/insert_file" -H "Content-Type: application/json" -d '{"file_path": "the_highway_code_uk.txt"}'
I get following:
{"detail":[{"type":"missing","loc":["body","file"],"msg":"Field required","input":null}]}
And I see the following issue on the terminal where I started the server:
INFO: 127.0.0.1:59700 - "POST /insert_file HTTP/1.1" 422 Unprocessable Entity
Could you please help me with this issue?
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
when I run the following code on terminal:
curl -X POST "http://127.0.0.1:8020/insert_file" -H "Content-Type: application/json" -d '{"file_path": "the_highway_code_uk.txt"}'
I get following:
{"detail":[{"type":"missing","loc":["body","file"],"msg":"Field required","input":null}]}
And I see the following issue on the terminal where I started the server:
INFO: 127.0.0.1:59700 - "POST /insert_file HTTP/1.1" 422 Unprocessable Entity
Could you please help me with this issue?
Thanks.
The text was updated successfully, but these errors were encountered: