Last active
July 23, 2019 14:30
-
-
Save reubeningber/8cb5fbd2b3de48ae61efcd4f57eb1f11 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| data = { | |
| "customer_name": "businessinsider", | |
| "user_name": "<REDACTED>", | |
| "password": "<REDACTED>" | |
| } | |
| headers = { | |
| 'Content-type': 'application/json', | |
| 'Accept': 'text/plain' | |
| } | |
| r = requests.post('https://api.dynect.net/REST/Session/', data=json.dumps(data), headers=headers) | |
| print(r.content) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment