Hi,
I am using FRDM-K66 to test my HTTPS client, and it looks fine because I can negotiate with server.
When I send the following http request, always get "invalid token":
#define GET_REQUEST \
"GET https://192.168.100.1:9882/snore/termmgmt/install/gps HTTP/1.1\r\n" \
"X_Auth_Token:secureSnoreToken\r\n HOST: 192.168.100.1\r\n\r\n"
But it works when I am using the following curl command:
curl -i -k -H "X_Auth_Token:secureSnoreToken" https://192.168.100.1:9882/snore/termmgmt/install/gps
Can anybody tell me how to set up GET request for token in http header?
Thanks,
Christie