curl --location --request put 'http://ip:pory}/xx/xx/xx/xx' \
--header 'x-api-key: edd1c9f034335f136f87ad84b625c8f1' \
--header 'content-type: application/json' \
--data-raw '{
"uri":"/xx/*",
"desc":"xxxxxx",
"methods":["get","post","put","delete"],
"upstream_id": "xxxx"
}'
curl: option --data-raw: is unknown
curl: try 'curl --help' or 'curl --manual' for more information
可以将curl命令额 --data-raw换成--data即可