Sending cookies in SOAP request using Suds

I am trying to access SOAP API using Suds. The SOAP API documentation states that I have to provide three cookies with some login details. How can i do this?

+2


source to share


1 answer


Set the Cookie HTTP header with the desired name / value pairs. This is how Cookie values ​​are typically transmitted in HTTP based systems. You can add multiple key / value pairs to the same http header.

One-time cookie

Cookie: name1 = value1



Multiple cookies (separated by semicolons)

Cookie: name1 = value1; name2 = value2

+4


source







All Articles