romeroqj
romeroqj

Reputation: 839

Google App Engine post request query string

I'm building my first GAE app. After watching a tutorial video on youtube, (this one) I noticed that when a post request is made, say from a form, yo don't see the querystring in the URL (my desired behavior).

The surprise arises when I perform a post request from a form, conceptually the same one that's on the video, and the query string is displayed in the URL (not so desired behavior).

Is this something like a default behavior or something? Can I hide those querystring parameters?

Upvotes: 0

Views: 772

Answers (1)

sahid
sahid

Reputation: 2610

I think you talk about the HTTP methods like POST or GET, check the attribute "method" in your form definition, you need to put it to "POST" like

<form action="" method="POST">
...
</form>

You can see more informations: http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods

Upvotes: 2

Related Questions