Skip to content

How to create an form info and send this POST?

awintawint
edited March 2013 in Need Help
some page use js or ajax to construct an form and make a POST. GSA can do such thing?  post data seem only construct the form info but how to POST to action url? how to set this ?

Comments

  • SvenSven www.GSA-Online.de
    have a look on the new MacOSWiki engine. That "simulates" the whole process done by ajax/jc.
  • awintawint
    ajax is not issue, my question is how to POST method to a url because there is no form.  after check MacOSWiki, i set below:

    [register_step3]
    modify url=http://form-action-url.com
    post data= 

    it just GET http://form-action-url.com  How to POST method to http://form-action-url.com?  is there any key i need to set?
  • SvenSven www.GSA-Online.de
    don't forget the "just download=1"
  • awintawint
    so put just download to make GET to POST method right? it is a bit wired,isn't it? it just a trick?
  • SvenSven www.GSA-Online.de

    whats weird on that?

    modify url + post data + just download...I don't see any weirdness in this.

  • awintawint
    just download means only GET and not POST right? or i miss something? or it mean only one http GET/POST?
  • SvenSven www.GSA-Online.de
    just download means not to search for forms to post to. if post_data is empty it uses GET, else POST
  • awintawint
    see,  some site use POST but post data=empty.  how to do then?
  • SvenSven www.GSA-Online.de
    POST without any post data is not a valid method and I have never seen such thing.
  • awintawint
    squidoo now use ajax do it. please confirm it.
  • SvenSven www.GSA-Online.de
    but a POST request without post data is a GET request.
  • awintawint
    by http tool, it do show as POST method.
  • awintawint
    if  there are post data, and NO just download, it will use form + post data to submit?  or just use one of them? which one?
  • SvenSven www.GSA-Online.de
    Without "just download=1" it will first open that URL and try to find a form thats suitable and most likely fail if you didn't define one.
Sign In or Register to comment.