Post Request grabs xml in postman, but when I use the python requests code generated it doesn't run

Also, the post request only works in the chrome extension and NOT in the standalone app. I get 401’s when using the standalone app. Anybody have a similar issue or know how to fix this?