c# - RESTful api queryString functionality -


i'm building c# web rest api, , trying implement crud methods method filter different fields have in db.

the select all, , select id done, i'm curious how go selecting resource string.

i'm assuming this:

/api/requests?priority=high

this search through of requests , return of requests priority set "high"

are able combine parameters?

such as: /api/requests?priority=high&status=open

from understanding these have implemented in own method, seems little excessive.

i've seen few different implementations of using lists using getquerynamevaluepairs, i'm not sure if i'm looking for. so, implementation suggestions appreciated.


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -