468,484 Members | 2,159 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,484 developers. It's quick & easy.

accessing parameters of a post request

1
Hi,
I am looking to figure out how to display parameters of a post request. I am working in visual C++ environment. I have a program that tracks and outputs URL activity. For instance, when I log in to my yahoo email account, the program outputs the following headers:

(Request for https://login.yahoo.com/config/login?)
POST /config/login? HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Accept-Encoding: gzip, deflate
Referer: https://login.yahoo.com/config/mail?.intl=us
Accept-Language: en-us
Content-Type: application/x-www-form-urlencoded


The post request sends to the web server the username and password I enter to log in to my email account. What I want to do is to display the username and password along with the headers above. If someone has a clue on how to do this, I will appreciate your help.

I am using the BeginningTransaction function to get the headers:

STDMETHODIMP CTestSink::BeginningTransaction(
/* [in] */ LPCWSTR szURL,
/* [in] */ LPCWSTR szHeaders,
/* [in] */ DWORD dwReserved,
/* [out] */ LPWSTR *pszAdditionalHeaders)

Is there any way to get the post parameters to display with the headers?

Thanks.
Sep 9 '06 #1
0 1752

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

10 posts views Thread by Bo Rasmussen | last post: by
10 posts views Thread by Adis | last post: by
5 posts views Thread by Daniel Corbett | last post: by
1 post views Thread by Nestor | last post: by
2 posts views Thread by gieforce | last post: by
reply views Thread by theflame83 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.