Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 4797

Can I re-use browser authentication with python REST?

$
0
0

I am trying to run a REST API with python. I can invoke the API successfully from the browser, but I get authentication errors when doing so from python or from the command line.

I've already authenticated myself with the brower in order to be able to access the API. It is a complicated multi-factor auth which I don't want to have to do via python, if I even could.

So my question: Is there a way to extract the token from the browser session and re-use that in my python application?

Or maybe I am already authenticated and I just need to identify myself?

Thanks!


Viewing all articles
Browse latest Browse all 4797

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>