is this wrong route(             pattern="/data/:...
# box-products
s
is this wrong route(             pattern="/data/:id",             target="Api.getdata"         ).Withverbs("GET");
b
@Simone You need to be more specific, please. What about it seems "wrong"? • What are you expecting to happen? • What is actually happening • Did you get an error?
s
Copy code
route("/data/:id").withVerbs("GET").to("Api.getdata");
solved with above but i am wondering, can i pass more verbs to same method
j
Yes, you can pass a delimited list to
withVerbs
b
Can you show the link to the ColdBox docs you have been looking at on this?