📜  如何在 curl 发布请求中包含标头租户和数据 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:14.288000             🧑  作者: Mango

代码示例1
curl -d '{"auth":{"passwordCredentials":{"username": "admin",
"password": "secret"},"tenantName": "customer-A"}}'
-H "Content-Type: application/json" http://192.168.100.100:5000/v2.0/tokens