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

Function main

python/examples/blocking/bearer_auth.py:4–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2
3
4def main():
5 client = BlockingClient()
6 resp = client.get(
7 "https://httpbin.org/anything",
8 bearer_auth="token",
9 )
10 print(resp.text())
11
12
13if __name__ == "__main__":

Callers 1

bearer_auth.pyFile · 0.70

Calls 3

getMethod · 0.95
BlockingClientClass · 0.85
textMethod · 0.45

Tested by

no test coverage detected