Hi,I've read in these threads to figure it out how to define a RemoteMethos programmatically, but don't have a clue yet:
- https://github.com/strongloop/loopback/issues/443#issuecomment-222662940
- https://github.com/strongloop/loopback/issues/209#issuecomment-77102841
- https://docs.strongloop.com/display/public/LB/Remote+methods
- And many others in this group...
Please help me. Months trying to solve this..Thank you,
--
You received this message because you are subscribed to the Google Groups "LoopbackJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to loopbackjs+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/loopbackjs/792e6c4c-a62e-472e-9d88-055cb1406b09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
By default, LoopBack REST connector also provides an 'invoke' method to call the REST API with an object of parameters, for example:
myMutableMethod(param1, param2)
myFirstImplementation(param1, param2)
myOtherImplementation(param1, param2)
an example shows how to invoke geocode..., but don't tell you how you should specify the method to invoke! What if you have several methods that accept the same type of parameters?!""....By default, LoopBack REST connector also provides an 'invoke' method to call the REST API with an object of parameters, for example:
...""No one have asked about this either...This relates to the need I have of being able to define remote methods programmatically/dinamically/on demand ... I would need a solution for this.
El lunes, 15 de agosto de 2016, 3:15:21 (UTC-3), John Diddle escribió:
Hi,I've read in these threads to figure it out how to define a Remote Method programmatically, but don't have a clue yet:
- https://github.com/strongloop/loopback/issues/443#issuecomment-222662940
- https://github.com/strongloop/loopback/issues/209#issuecomment-77102841
- https://docs.strongloop.com/display/public/LB/Remote+methods
- And many others in this group...
Please help me. Months trying to solve this..Thank you,
--
You received this message because you are subscribed to the Google Groups "LoopbackJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to loopbackjs+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/loopbackjs/ebad6f19-7aca-4ff9-831d-a09bf7a2225b%40googlegroups.com.