Re: Want to use url to post the data in form.



Hongyi Zhao wrote:
Hi all,

I want to construct a url to do the same thing that a post form done,
e.g., username and password, is the data submitted by the form. What
should I do then just a constructed url to do the same thing?

Let me describe my issue in more detail:

Take the following url as a example:

http://proquest.umi.com/pqdweb

My institute is a subscriber of it and I've a username and pssword of
this library. In my case, I find that I've two choices to log into
it:

1- Go to the above url, and then fill the logon form by my username
and pssword, finally, click on the connect button.

2- Alternatively, I can only use the following url to logon:

http://proquest.umi.com/pqdweb?RQT=301&UserId=myusername&Passwd=mypssword&JSEnabled=1

where, the _myusername_ and _mypssword_ are the login credentials
of mine.

So, I want to konw the map rule from the first method to the the
second, i.e., construct a url to do the same thing as a post form
done.

IF the application that processes the submitted form doesn't distinguish between data sent in a POST request and and data included in the URL in a GET request, you can use a query string of the form field1Name=field1Value&field2Name=field2Value& ... &fieldnName=fieldnValue for the names and values of each of the n fields in the form. But if the application is set up to process only posted data, then there *is* no way to create a URL that will automatically work in a GET request.
.



Relevant Pages

  • Want to use url to post the data in form.
    ... I want to construct a url to do the same thing that a post form done, ... e.g., username and password, is the data submitted by the form. ... 1- Go to the above url, and then fill the logon form by my username ... and pssword, finally, click on the connect button. ...
    (alt.html)
  • RE: Problems signing request when using Windows Authentication
    ... method based on the user account benig in a group. ... In the client I add a username token to the request. ... security tokens in the request.", ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • How to enter to .aspx page by http connection using http POST request
    ... I m facing dificulty with http "POST" request. ... it requires username and password. ... String outputMessage = new String; ...
    (comp.lang.java.programmer)
  • Re: [PHP] Authentication
    ... If memory doesn't fail me, if you work with IIS and protect the source pages of the application so that IUSR_xxxxx doesn't have access to those files and instead grant access to the NT users or groups which you want, the IIS when working with IE clients will take care of that as long as they are all in the same domain. ... I did it with IIS 3 and IE4 and it worked, I am not completely sure about the details, but it is something you do in the server administration and you don't need to do any programming at all, if the person reaches the page it is because it is who he says it is. ... Otherwise, no browser will give you access to any sensitive information on the client machine, nothing that someone, anyone, might pick on the server side just by receiving a page request. ... If you can find a JavaScript function to snoop the username, ...
    (php.general)
  • Re: HTTP Post Authentication
    ... Can you elaborate more on the basic authentication design? ... then placing the username and password seperated by a colon, ... the authorization tag in the reponse and handling it appropriately. ... Only issue is that I cannot set the Request Header authorization since it is ...
    (microsoft.public.dotnet.framework.aspnet)