MCPcopy Create free account
hub / github.com/0x676e67/wreq-python / main

Function main

python/examples/body.py:14–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12
13
14async def main():
15 resp = await rnet.post(
16 "https://httpbin.org/anything",
17 headers={"Content-Type": "application/x-www-form-urlencoded"},
18 body=gen(),
19 )
20 print(await resp.text())
21
22
23if __name__ == "__main__":

Callers 1

body.pyFile · 0.70

Calls 3

genFunction · 0.70
postMethod · 0.45
textMethod · 0.45

Tested by

no test coverage detected