This commit is contained in:
louiscklaw
2025-01-31 22:32:41 +08:00
parent 8a673f6cfc
commit 2f92062c07
35 changed files with 5306 additions and 0 deletions

View 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