How to create a resource-path for a service?

Hi @mattschaer,

Ok, for example purposes only, if I have a Custom Scripting Service called “my_service” and I want to create two resources: resource1 and resource2/{any_number}.
If I call my_service/resource1, the response is {“msg”:“hello world”}
And for my_service/resource2/3, the response is {“msg”:“I have 3 apples”}

Thanks!