Using libcurl to upload files to DropBox

后端 未结 2 1501
有刺的猬
有刺的猬 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);
        } 
    

提交回复
热议问题