Trying to use post method to create a file in bitbucket using bitbucket api and getting 415 unsupported media.
please find the curl command
Curl command: curl -X POST \
-H 'Accept: */*' \
-H 'Accept-Encoding: gzip, deflate' \
-H 'Authorization: Basic ********' \
-H 'Cache-Control: no-cache' \
-H 'Connection: keep-alive' \
-H 'Content-Length: 169' \
-H 'Content-Type: multipart/form-data; boundary=--------------------------919644441165932680909311' \
-H 'Host: bitbucket-fof.appl.******' \
-H 'cache-control: no-cache' \
-H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
415Unsupported Media Type
@samyuktha ramireddyWelcome to the community.
If this doesn't help, please share your API request (CURL or Code you are using to make request) for swift diagnosis and resolution.
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events