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

Function main

python/examples/blocking/body.py:9–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7
8
9def main():
10 client = BlockingClient()
11 resp = client.post(
12 "https://httpbin.org/anything",
13 headers={"Content-Type": "application/x-www-form-urlencoded"},
14 body=gen(),
15 )
16 print(resp.json())
17
18
19if __name__ == "__main__":

Callers 1

body.pyFile · 0.70

Calls 4

postMethod · 0.95
BlockingClientClass · 0.85
genFunction · 0.70
jsonMethod · 0.45

Tested by

no test coverage detected