Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-14367

Update Bitbucket API documentation to allow redirects from response 302

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Running this request results in response 302

      #!python
      
      curl -v --user username:password https://api.bitbucket.org/2.0/repositories/{username}/{repo_slug}/pullrequests/{pull_request_id}/diff
      
      #!python
      
      ...
      
      < HTTP/1.1 302 Found
      
      ...
      
      * Curl_http_done: called premature == 0
      * Connection BCLOUD-0 to host api.bitbucket.org left intact
      

      Workaround:
      Include -L flag to allow redirects

      Attachments

        Activity

          People

            Unassigned Unassigned
            eho Edwin Ho (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: