User bio
404 bio not found
Member since Oct 10, 2016
Posts:
Replies:

I tried:

In main dispatcher:
<Routes>
   <Map Prefix="/v1/news"    Forward="API.Dispatch.news"/>
</Routes>

And in the sub-dispatcher:
<Routes>
   <Route Url="/:id"                        Method="GET"  Call="NewsGetItem"/>
</Routes>
And so with classmethod:

ClassMethod NewsGetItem(id As %IntegerAs %Status
{
    id
    Quit $$$OK
}
But still 404

Yes it work but I want to keep a main dispatcher with only the base route:

<Map Prefix="/v([0-9]{1,2})/news"    Forward="API.Dispatch.news"/>

Certifications & Credly badges:
Sébastien has no Certifications & Credly badges yet.
Followers:
Sébastien has no followers yet.
Following:
Sébastien has not followed anybody yet.