Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to send base url with context path when developing own rest API on my bamboo plugin?

Tam Vo September 18, 2018

I created a bamboo server with context path "/bamboo" into server.xml and set full path url on baseUrl field of bamboo server <my-ip:8085/bamboo>.

But when I developed custom rest API and send a request

<rest name="My Rest Resource" key="my-rest-resource" path="/api">
</rest>

It will send with the request my-ip:8085/projects, not my-ip:8085/bamboo/projects and show 404 (not found) error.

Do I miss a config it or another reason to send API with full path correctly <my-ip:8085/bamboo/projects>?

1 answer

0 votes
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 10, 2019

Hi! 

Looks like you forget get info in your app about base url.

 

Cheers,

Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events