How to achieve a persistent HTTP session in MATLAB?

148 views Asked by At

I am trying to establish a persistent session in MATLAB for the POST method.

For instance, in Python, the requests library allows the use of persistent sessions like so:

s = requests.session() 
s.post('localhost/login.py', login_data) #logged in! cookies saved for future requests.
r2 = s.post('localhost/profile_data.json')

How could this be done in MATLAB?

0

There are 0 answers