https://linen.dev logo
#general
Title
# general
g

Gergely Attila Sarosi

03/25/2024, 1:07 PM
Copy code
headers = {
    'Content-Type': 'application/json'
}

mock_json = {
    "response": {
        "body": 'some new body as response'
    }
}

res = requests.patch(url, json=mock_json, headers=headers)