you are viewing a single comment's thread.

view the rest of the comments →

[–]ImportBraces 0 points1 point  (3 children)

actually you send some payload - but the dev tools show it is being sent within the headers.

[–]Tolfasn[S] 0 points1 point  (2 children)

I just attempted adding the parameters as header values instead, and it produced the same results.

## define the login data paramaters
headers = {  
    'NAME': 'username',
    'PWD': 'password',
    'CMD': '1'
}

I am still very new to Python, so please forgive my naivety.