Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

Python code to demonstrate example of requests.post() with json

# Hello World program in Python
import requests

result = requests.post('https://openapi.daocloud.io/v1/apps/28832ce5-0e21-42a2-8307-796a85045c3e/actions/restart',
  headers={"Authorization": "token q4c67rdvmtmkgee4hwgr3efj2vj0ucw7v74qk6qk"})

print(result.json())

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.