I use 'x-ibm-client-id: xxxx' so it can not receive data from API
+ bot_api_us2thai.htm
+ bot_api_us2thai.php
+ bot_api_us2thai_test.php
array(3) {
["httpCode"]=>
string(3) "401"
["httpMessage"]=>
string(12) "Unauthorized"
["moreInformation"]=>
string(28) "Invalid client id or secret."
}
httpCode = 401
httpCode = 401
httpMessage = Unauthorized
moreInformation = Invalid client id or secret.
httpMessage = Unauthorized
httpCode = 401
httpMessage = Unauthorized
moreInformation = Invalid client id or secret.
moreInformation = Invalid client id or secret.
httpCode = 401
httpMessage = Unauthorized
moreInformation = Invalid client id or secret.
echo $d["httpCode"]
401