views:

333

answers:

1

I'm trying to access a SOAP API using Suds. The SOAP API documentation states that I have to provide three cookies with some login data. How can I accomplish this?

A: 

Set a "Cookie" HTTP Request Header having the required name/value pairs. This is how Cookie values are usually transmitted in HTTP Based systems. You can add multiple key/value pairs in the same http header.

Single Cookie

Cookie: name1=value1

Multiple Cookies (seperated by semicolons)

Cookie: name1=value1; name2=value2

Thiyagaraj
Works great, thanks!
Bram