Using libcurl to upload files to DropBox

后端 未结 2 1499
有刺的猬
有刺的猬 2021-02-14 13:45

I\'m trying to use the libcurl in a C/C++ application to post files to DropBox.

I would like to use the \"/files (POST)\" API as documented here...

https://www.

相关标签:
2条回答
  • 2021-02-14 14:35

    I have just use the libouth and libcurl to get information from sina weibo. here is my example for you refer. you can also refer the liboauth test programmer in the tests dir, oauthtest.c

        if (use_post)
        {
            req_url = oauth_sign_url2(test_call_uri, &postarg, OA_HMAC, NULL, c_key, c_secret, t_key, t_secret);
            reply = oauth_http_post(req_url,postarg);
        } 
    
    0 讨论(0)
  • 2021-02-14 14:42

    I suggest using BOOST ASIO . Makes uploading and downloading a breeze.

    0 讨论(0)
提交回复
热议问题