
Announcements
import requests
# API endpoint
url = "https:" # Replace with the actual API URL
# Plain text body
text_body = (
"Your Body"
)
# Headers
headers = {
"Content-Type": "application/x-www-form-urlencoded; charset=utf-8"
}
# Sending the POST request
response = requests.post(url, data=text_body.encode("utf-8"), headers=headers)
# Print response
print("Status Code:", response.status_code)
print("Response Body:", response.text)