Search code examples
cjsonlibcurltizen-wearable-sdktizen-native-app

Output json response from url using libcurl in Native Tizen wearable


I'm currently new to Native Tizen Development and libcurl as well. So I have an API/URL that accepts post data and echo json array to be parsed using tizen watch gear s2. I was able to succeed in using curl_easy_perform, however I don't know how to check or retrieve the response from the URL. Can anyone help me?


Solution

  • Are you asking for how to receive the data in memory using the libcurl API? If so, the curl example getinmemory.c is showing exactly that!