Details
-
Bug
-
Resolution: Obsolete
-
Low
Description
As per the title, when using the PUT method, if a Content-Type:application/json header is included, the call will return a "Bad request" error.
This is not consistent with other methods such as DELETE, which does not throw this error even though it also does not support JSON parameters.
The affected API endpoint is this one:
https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/default-reviewers/%7Btarget_username%7D