Closed jasperblues closed 10 years ago
Alternatively we could use: [request addQueryParameterWithName:value]
I love that this library is simple and not bloated, however I think this would be a useful addition. If you like I could send a pull request.
+1
Thank you for the proposal, I'll review it in the upcoming days.
Sorry for the delay, I've been quite busy lately, I haven't forgotten you proposal.
I eventually chose to use a GETDictionary
property.
I hope you'll find it useful.
Thankfully RESTful style parameter passing is popular now, but every now and then we need to hit a legacy service, where we append traditional query parameters to a GET request.
This is actually fairly complicated.
It would be nice if we could create a request something like this:
The code that I currently use for encoding URLs looks like this:
Utility class: