471,831 Members | 1,294 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,831 software developers and data experts.

accessing parameters of a post request

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?

Sep 9 '06 #1
0 1864

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
reply views Thread by aboka | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.