Get JSESSIONID with jQuery

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: 3 years 5 months 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 - 3 years 5 months ago

0 Answers:

No answers yet
Feedback
randomness