HTTP (api) adapter for mesh.
Installation
npm install mesh-http
http(operationName, options)
Performs a new operation on the API
options
url
- (optional) path to the route - automatically resolved by collection if this is omittedmethod
- (optional) resolved by mesh methodheaders
- (optional) HTTP headersquery
-query params
var mesh = ;var http = ;var db = ; // POST /people?q=search { name: "abba" };