REST API filter operator best practice

后端 未结 4 1720
无人共我
无人共我 2021-02-05 03:21

I am building a REST API that uses a filter parameter to control search results. E.g., one could search for a user by calling:

GET /users/?filter=na         


        
4条回答
  •  一个人的身影
    2021-02-05 04:03

    The Open Data Protocol (OData)

    You can check BreezeJs too and see how this protocol it's implemented for node.js + mongodb with breeze-mongodb module and for a .NET project using Web API and EntityFramework with Breeze.ContextProvider dll.

提交回复
热议问题