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

How to make a REST request from own plugin to the same server?

Benjamin Krüger January 14, 2021

Hello, 
I need to make a REST call in Confluence to another plugin. I need to do it in context as an admin, but the code shouldn't contain the clear password. Is there any way to do this?

My workaround is to save the password in pluginSettings from a console and read it in my plugin. But for maintenance this is terrible.

Best regards,
Benjamin

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.
January 23, 2021

Hi @Benjamin Krüger , 

why you don't want to do via js script from your plugin?  

Because that script will do execution with user cookies.

 

Cheers,

Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events