The above issue related to ‘undefined reference’ get resolved.
Now I have used curl methods to send data on server link.
But there is one error at curl_easy_perform(curl) : could not resolve host name
My aim is to send Url with GET method so as to receive response of sent link.
along with link, there is some data input to update on server and response is sent back from server.
- connected to gprs using le_data api and connection handler
- when gprs get connected, curl is initialized and following curl methods :
static const char * Url = “https://httpbin.org/get”;
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, PrintCallback);
res = curl_easy_perform(curl);
I have also checked by adding “htttp://www.google.com”, but same error exist
Kindly help me to solve issue