Skip to content

Instantly share code, notes, and snippets.

@noriaki
Last active April 7, 2016 17:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noriaki/d5f30996d8418cac966a823c555752e9 to your computer and use it in GitHub Desktop.
Save noriaki/d5f30996d8418cac966a823c555752e9 to your computer and use it in GitHub Desktop.
LINE BOT APIにちゃんとアカウント登録できてるか確認するためのcurlコマンド。{ほげほげ}の部分には管理画面の各値をあてはめる。レスポンスに自分の設定したアカウント情報が返ってくれば正しく登録できてる
curl -H "X-Line-ChannelID: {Channel ID}" \
-H "X-Line-ChannelSecret: {Channe lSecret}" \
-H "X-Line-Trusted-User-With-ACL: {MID}" \
"https://trialbot-api.line.me/v1/profiles?mids={MID}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment