Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting up content-type header in curl #2560

Open
suryapratap1 opened this issue Dec 21, 2018 · 0 comments
Open

setting up content-type header in curl #2560

suryapratap1 opened this issue Dec 21, 2018 · 0 comments

Comments

@suryapratap1
Copy link

hi folks,
i'm working on tizen os with gearfit 2 pro smart watch
and want to deploye data from gearfit 2 pro to azure by using curl command for storing data into microsoft azure table storage account .

curl_easy_setopt(curl, CURLOPT_URL, "http://192.168.99.106:3000/getData/");
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "POST");

// struct curl_slist *headers = NULL;
// headers = curl_slist_append(headers, "content-type:application/json");
//
// curl_easy_setopt(curl, CURLOPT_HEADERDATA ,headers);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant