Forums

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

How to use the request to go through the administrator form

fed June 15, 2020

How to use the request to go through the administrator form

/authenticate.action?destination=/admin/viewgeneralconfig.action

Keeping the old session, I switch to the form, but I don’t know what parameters in the request I need to set in order to log in.

so far something like this


$urldsds = 'http://10.**.**.**authenticate.action?destination=/admin/viewgeneralconfig.action'
$test= $body = @{
 'password' = '1234567'}
$test2= $test| ConvertTo-Json
Invoke-WebRequest -Method POST -UseBasicParsing $urldsds -ContentType "application/json" -WebSession $Session -Body $test2

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events