9 lines
310 B
Bash
Executable File
9 lines
310 B
Bash
Executable File
#!/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
|
|
|