strongloop-community / loopback-example-connector

HTTP connector examples for LoopBack.
Other
30 stars 25 forks source link

Example required for function with params #18

Open gamerrajan opened 7 years ago

gamerrajan commented 7 years ago

Hi Team,

May be this is not the right place to put this question. In rest connector documentation gives function with parameter in datasource, but model implementation sample is not available for the same. "functions": { "geocode": ["street", "city", "zipcode"] }

Since in magazine sample we are not using any method. I am not able to find implementation for the same. I am struck in my implementation. Could you help me with model sample for method with request param and how that will be added in our url as a query.

Thanks in advance, Nagarajan. K

Bug or feature request

Description of feature (or steps to reproduce if bug)

Link to sample repo to reproduce issue (if bug)

Expected result

Actual result (if bug)

Additional information (Node.js version, LoopBack version, etc)