📜  从邮递员导出 curl - 无论代码示例

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

代码示例2
curl https://{subdomain}.zendesk.com/api/v2/tickets.json \
  -d '{"ticket": {"subject": "My printer is on fire!", "comment": { "body": "The smoke is very colorful." }}}' \
  -H "Content-Type: application/json" -v -u {email_address}:{password} -X POST