CURL command examples

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/yhzhaohy/article/details/90408866

1, contains the URL to access the account password

curl -u 账号名 localhost:8090
访问后会提示键入密码

2, POST request transmission, and includes parameters json

curl -H "Content-Type:application/json" -X POST --data "{\"configuredLevel\":\"DEBUG\"}" localhost:8090/loggers/com.antsix

To be continued. . .

Guess you like

Origin blog.csdn.net/yhzhaohy/article/details/90408866