Hi there,
I'm using spring-android 1.0.0.M4 and noticed this behaviour.
Let's say I want to make a getForObject pointing to following URL:
protocol://example.com/databases/mydatabse/collections/mycollection?q={"field1":"value1", "field2":"value2"}&apikey=8r2e34gd6d3
where q it's a json notated query, like mongolab API.
Well, in this scenario, UriTemplate tries to expand variable "field1":"value1", "field2":"value2" ... which in this case is not a variable, but a URL parameter value.
Is this an expected behaviour?
do you plan to support this kind of URL parameters?
for now, I've made a simple workaround for this, but I'm curious about this kind of URL parameters support.
thanks!


Reply With Quote
