NeoZephyr / Post-It-Note

0 stars 0 forks source link

CURL 使用 #14

Open NeoZephyr opened 2 years ago

NeoZephyr commented 2 years ago
curl -X POST -H "Content-type: application/x-www-form-urlencoded" -d 'grant_type=client_credentials&name=pain'
'localhost:8080/xxx?grant_type=client_credentials&age=18'
curl -X POST -H 'x_proto: no' -H "Content-type: application/json" -d '
{
    "grant_type": "client_credentials",
    "name": "jack"
}
' 'localhost:8080/join?grant_type=client_credentials&x_tenant_id=120'