Get JSESSIONID with jQuery

0

Hi there,

I'm trying to make us of Jasperserver REST API and I'm getting stuck while trying to get the JSESSIONID for authorizing the GET calls. Does anyone know how should I do this using jQuery? Or alternatively, how could I do it? I would appreciate some help, as it's quite urgent...

Thanks in advance,

aleix.vaz's picture
Joined: Oct 9 2019 - 1:35am
Last seen: 1 year 1 month ago

i get it using python:

import requests

from requests.auth import HTTPBasicAuth

r = requests.get('https://mobiledemo.jaspersoft.com/jasperserver-pro/flow.html?_flowId=homeFlow', auth = HTTPBasicAuth('joeuser', 'joeuser'))

print(r.cookie)

wlxxiii - 1 year 1 month ago

0 Answers:

No answers yet
Feedback
randomness