新しいBoxサポートサイトへようこそ。 変更点の詳細はこちらをご確認ください .

How to set shared_link in cURL by PHP

新規投稿

コメント

1件のコメント

  • kanemaki shinichiro

    Correct.

    excuse me. Exclude the following statements.

    curl_setopt($curl, CURLOPT_POSTFIELDS, $params); // ※

    Response is

    {"type":"error","status":400,"code":"bad_request","context_info":{"errors":[{"reason":"invalid_parameter","name":"entity-body","message":"Invalid value 'grant_type=urn......password%5D=mypassword'. Entity body should be a correctly nested resource attribute name\/value pair"}]},"help_url":"http:\/\/developers.box.com\/docs\/#errors","message":"Bad Request","request_id":"********"}

    Thank you for reading to the end.

    0
    コメントアクション Permalink

サインインしてコメントを残してください。