@NotWegant (Sorry for my English).
When you make a GET request in the response, you will have cookies for this URL. Then you will save them. Is this option not working?
@ensdmrlq I think this is the interal api of outlook, maybe they have docs, otherwise you can try searching google, otherwise you will need to research yourself and try more