update,
This commit is contained in:
8
vinniesniper-54816/task1/project/frontend/pages/api/test.sh
Executable file
8
vinniesniper-54816/task1/project/frontend/pages/api/test.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# curl -X POST -H "Content-Type: application/json" -d '{"name":"John Doe","age":30}' http://localhost:5000/api/data
|
||||
|
||||
# curl http://localhost:5000/api/data
|
||||
# curl -F "file=@test.txt" http://localhost:3000/api/hello
|
||||
curl -X POST -F "file=@test.txt" http://localhost:3000/api/testFileupload
|
||||
|
Reference in New Issue
Block a user