bynk.test.service_unknown_route
Error A test body addresses an http route / cron schedule / queue message the service does not declare.
A case addresses an http route by the pattern its handler declares, "/items", not a concrete URL, and a cron or queue service by its own address. A path that no route in the service declares, for any method, is refused. To test the 405 for a wrong method, use a declared path with a method it lacks.
Example
service api from http { … }
// tests/api.test.bynklet r <- api.POST("/item", "x") by Visitor // ✗ no route "/item"let r <- api.POST("/items", "x") by Visitor // ✓In the Book
See also
- The grammar rule it governs:
case. - Every code in its category, Tests, on the diagnostic index.
bynk explain bynk.test.service_unknown_routeshows the same from the installed toolchain, without a network.