Last active
November 20, 2016 19:43
-
-
Save temmings/efd03c5ecbd63d8b5e6524a0246f297d to your computer and use it in GitHub Desktop.
Revisions
-
temmings revised this gist
Nov 20, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,4 +10,4 @@ PASSWORD="${YOUR_LOGIN_PASSWORD}" PACKCODE=$1 curl -c - -s ${IQOSPHERE_LOGIN_API} -d "login_id=${LOGIN_ID}&password=${PASSWORD}" \ | curl -b - ${IQOSPHERE_REGISTER_API} -d "code_list%5B%5D=${PACKCODE^^}" -
temmings renamed this gist
Nov 20, 2016 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
temmings created this gist
Nov 20, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ #!/bin/bash set -eu IQOSPHERE_DOMAIN="https://iqosphere.jp" IQOSPHERE_LOGIN_API="${IQOSPHERE_DOMAIN}/modules/login" IQOSPHERE_REGISTER_API="${IQOSPHERE_DOMAIN}/modules/awardpoint" LOGIN_ID="${YOUR_LOGIN_ID}" PASSWORD="${YOUR_LOGIN_PASSWORD}" PACKCODE=$1 curl -c - -s ${IQOSPHERE_LOGIN_API} -d "login_id=${LOGIN_ID}&password=${PASSWORD}" \ | curl -b - ${IQOSPHERE_REGISTER_API} -d "code_list%5B%5D=${PACKCODE}"