最近の検索


最近の検索はありません

APIエラー:cURL:(3)URLが不正な形式または不足しているURLを使用しています



image avatar

Dwight Bussman

Zendesk Customer Care

編集日時:2025年4月04日


0

0

3件のコメント

      Thanks everyone, fix my error when building my first application also

      0


      Glad that was helpful, Vito!

      0


      Perfect. Fixed by adding double quotes around my URL. Original form was :

      curl -X POST localhost:8080/employees -H 'Content-type:application/json' -d '{"name": "Samwise Gamgee", "role": "gardener"}'

      Fixed form : 

      curl -X POST localhost:8080/employees -H "Content-type:application/json" -d "{\"name\": \"Samwise Gamgee\", \"role\": \"gardener\"}"

      Many thanks. 

      Vito

       

      1


      サインインしてコメントを残します。