English 中文(简体)
REST and Filtering records
原标题:REST and Filtering records

目前,我拥有一种“网络”方法,它类似于“条码”(

我很想知道这样做的有益方式是什么。 页: 1 这将是像<条码>。 /Users? FromDate=11-1-2011&toDate=11-2-2011&age=&sex=M? 是否有办法通过<代码>Filter而不必将其转化为个人特性?

我从流动客户那里消耗这一服务,因此,我认为,实际产生过滤器的额外请求的间接费用是坏的未爆炸。 即使我们这样做,<代码>POST滤/代码”哪怕是意思? 这是否应当在数据库中建立一个过滤记录? 如果我的要求顺序如下,服务器将如何跟踪刚刚建立的过滤器?

POST /filters -- returns a filter
{
    "from-date" : "11-1-2011",
    "to-date" : "11-2-2011",
    "age" : "",
    "sex" : "M"
}


GET /Users?filter=filter_id

如果请求书落空,则表示歉意。 我是这样。

Thanks,
Teja

最佳回答

We are doing it just like you had it GET /Users?fromDate=11-1-2011&toDate=11-2-2011&age=&sex=M

我们有9种令人不安的价值观。

我看不到任何问题。

问题回答

我处理的方法是,我与包含参数的机构一道做一个《专业考试报告》,然后,我回过了一个转头来。 URL公司认为什么完全由服务器掌握。 如果您希望将过滤器转换成单独的盘点灯泡,或者如果你想要坚持过滤器,然后添加一个 que子,把 points光的过滤器放在上面。 好处是,你可以随时改变你的思想,而客户则不小心。

而且,由于你正在从事教育、青年和体育部的工作,你可以利用这种ach子,而这种ach子比起进行额外quest。





相关问题
IIS 6.0 hangs when serving a web-service

I am having issues with one of our web-services. It works fine on my development machine (win XP) whether I host it as a separate application or using cassini from Visual studio. Once I deploy on the ...

ASP.net web services

I am using a web service which sets the Thread.CurrentPrincipal object while logging in and soon later when another webmethod of the same web service accesses Thread.CurrentPrincipal, its different/...

Unity Container Disposing and XML Web Service

I am registering some wrapers over un-managed objects in container. How can I dispose of them at the end of the container s lifetime? Please bear in mind I have an XML Web service.

SharePoint : web service permission error

I have a sharepoint site, and I am calling a standard sharepoint web service. I create the web service request like this : wsDws.Url = this.SiteAddress + @"/_vti_bin/Dws.asmx"; When I use ...

热门标签