request

Set the request

-X POST
Copy the code

Pay attention to case

Note: Anchors cannot be added (they are not sent to the server)

Just add (/ after) to the URLCopy the code

Query parameters

Set the request header

-h 'Name:Value' or --header·Name :Value 'Copy the code

Set the request body

-d 'contents' or --data' contents'Copy the code