Hi I am trying to create branch in bamboo project plan through REST API ... through node js code . using post .
var Url = http://localhost:8085 + 'plan/project/branch/branchName?vcsBranch="/poName"'; try{ axios.post(Url, {}, { auth: { username:['username'], password: ['password'] }
I am getting Request failed with status code 405 ...
"Error: Request failed with status code 405\n at createError (c:\BitBucketRepo\server\node_modules\axios\lib\core\createError.js:16:15)\n at settle (c:\BitBucketRepo\server\node_modules\axios\lib\core\settle.js:18:12)\n at IncomingMessage.handleStreamEnd (c:\BitBucketRepo\server\node_modules\axios\lib\adapters\http.js:202:11)\n at IncomingMessage.emit (events.js:187:15)\n at endReadableNT (_stream_readable.js:1094:12)\n at process._tickCallback (internal/process/next_tick.js:63:19)"
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.