MCPcopy
hub / github.com/httprunner/httprunner / post

Method post

httprunner/step_request.py:477–479  ·  view source on GitHub ↗
(self, url: Text)

Source from the content-addressed store, hash-verified

475 return RequestWithOptionalArgs(self.__step)
476
477 def post(self, url: Text) -> RequestWithOptionalArgs:
478 self.__step.request = TRequest(method=MethodEnum.POST, url=url)
479 return RequestWithOptionalArgs(self.__step)
480
481 def put(self, url: Text) -> RequestWithOptionalArgs:
482 self.__step.request = TRequest(method=MethodEnum.PUT, url=url)

Callers 12

send_eventMethod · 0.80
setUpMethod · 0.80
TestCaseT23Class · 0.80
TestCaseUploadClass · 0.80
TestCaseBasicClass · 0.80
TestCaseHardcodeClass · 0.80

Calls 2

TRequestClass · 0.90

Tested by 1

setUpMethod · 0.64