Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GET and POST form-data #35

Open
lucascs opened this issue Feb 16, 2011 · 6 comments
Open

GET and POST form-data #35

lucascs opened this issue Feb 16, 2011 · 6 comments

Comments

@lucascs
Copy link
Member

lucascs commented Feb 16, 2011

restfulie should be able to post and get using application/x-www-form-urlencoded media type.

Maybe support it with maps or a Params object.

@josedonizetti
Copy link
Member

@lucascs
Copy link
Member Author

lucascs commented Feb 18, 2011

how should I use it?

@lucascs
Copy link
Member Author

lucascs commented Feb 18, 2011

It works for POSTing in form-encoded, but there is no way to GET in form-encoded, isn't it?

@josedonizetti
Copy link
Member

how would be an GET example?

@lucascs
Copy link
Member Author

lucascs commented Feb 19, 2011

maybe:

 client.at(uri).with(queryParams(map)).get()

@guilhermesilveira
Copy link
Member

Nice dsl... go for a feature. And just confirming, its queryparams, not application/x-www-form-urlencoded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants