MCPcopy Index your code
hub / github.com/hugapi/hug / post

Method post

hug/routing.py:531–535  ·  view source on GitHub ↗

Sets the acceptable HTTP method to POST

(self, urls=None, **overrides)

Source from the content-addressed store, hash-verified

529 return self.where(accept="DELETE", **overrides)
530
531 def post(self, urls=None, **overrides):
532 """Sets the acceptable HTTP method to POST"""
533 if urls is not None:
534 overrides["urls"] = urls
535 return self.where(accept="POST", **overrides)
536
537 def put(self, urls=None, **overrides):
538 """Sets the acceptable HTTP method to PUT"""

Callers

nothing calls this directly

Calls 1

whereMethod · 0.95

Tested by

no test coverage detected