Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Deleted user 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 Champion
January 23, 2021

Hi @[deleted] , 

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