How to get parameter values that share the same name

15 views
Skip to first unread message

Zeno G.

unread,
Dec 1, 2011, 1:52:34 PM12/1/11
to Manos de Mono
Hi,

first of all, thank you for creating Manos.
It was really easy to pick up and use for creating a simple REST API.
Not much overhead.

One thing that would be nice is more documentation; for example, there
is no API documentation :-(

I have one concrete problem:
I try to implement an API where URL parameters may occur several
times, e.g.

GET /users/predictions?item=42&item=70

ctx.Request.QueryData.GetString('item') returns 42.
ctx.Request.QueryData.GetList('item') returns null.

Is there a way to get a list with both 42 and 70 in it?

Any help/pointers would be appreciated.

Best regards,
Zeno

Reply all
Reply to author
Forward
0 new messages