Skip to content

HAMUR_E0177: --method other than get or post has no --route

--method other than get or post has no --route. Error HAMUR_E0177 belongs to hamur, config, environment and command line (0001 – 0999).

Message

text
HAMUR_E0177 --method <method> needs --route: only GET and POST handlers have no public route

Cause

A handler with a method other than GET or POST has no public route unless --route says one.

Fix

Pass --route.