The second parameter is the transfer of data to the message body. You formatted it as part of the request. If the username / password is indeed passed in the query string, they must be included in the first parameter (url). Otherwise, more likely, if they are submitted as form parameters, then use UploadValues, as suggested by Andrey.
source
share