mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
14 lines
288 B
Python
14 lines
288 B
Python
import requests
|
|
|
|
url = "http://localhost:8080/hello_world?search=ai"
|
|
body = """{
|
|
"id": "id"
|
|
}"""
|
|
response = requests.request("GET", url, data = body, headers = {
|
|
"Content-Type": "application/json",
|
|
"authorization": "Bearer"
|
|
}, cookies = {
|
|
"mode": "light"
|
|
})
|
|
|
|
print(response.text) |