ひろこま Hack Log

プログラミングや機械学習などの知識を記録・共有します

2019-01-01から1ヶ月間の記事一覧

Watson APIで{"code":401, "error": "Unauthorized"}

Watson APIで{"code":401, "error": "Unauthorized"} エラー内容 2019年1月27日現在、Watson APIで次のようにHTTPリクエストを投げたら401エラーが返ってきます。 curl -X POST --form "images_file=@xxxx.jpg" "https://gateway.watsonplatform.net/visual-…

Watson APIでcurl: (7) Failed to connect to gateway-a.watsonplatform.net port 443: Operation timed out

Watson APIでcurl: (7) Failed to connect to gateway-a.watsonplatform.net port 443: Operation timed out エラー内容 2019年1月27日現在、Watson APIで次のようにHTTPリクエストを投げたら443エラーが返ってきます。 curl -X POST --form "images_file=@x…

Koma Hirokazu 's Hacklog ―― Copyright © 2018 Koma Hirokazu