package
0.0.0-20240909025730-2bae6a4fc9b2
Repository: https://github.com/goclub/http.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
使用 curl 发起请求
curl --location --request POST 'http://127.0.0.1:3000/request/form_data' \
--form 'name="nimoc"' \
--form 'age="18"'
*/.
No description provided by the author
使用 curl 发起请求
curl --location --request GET 'http://127.0.0.1:3000/request/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"name":"nimoc",
"age": 18
}'
*/.
http://127.0.0.1:3000/request/param/11.
打开 http://127.0.0.1:3000/request/query?name=nimoc&age=18.
curl --location --request GET 'http://127.0.0.1:3000/request/query_and_json?id=11' \
--header 'Content-Type: application/json' \
--data-raw '{
"name":"nimoc",
"age": 18
}'
*/.
打开 http://127.0.0.1:3000/request/file 上传文件.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author