HTTPError: 405 Client Error: Method Not Allowed

I am trying to transfer string to ‘wound_base’ column in a remote SQL database but I am getting an error:

HTTPError: 405 Client Error: Method Not Allowed.

The wound_base column has no data type assigned and I don’t have authority to modify the columns’ data types. Does anyone know a work around this problem? Would be very Grateful. Thank you.

import requests

payload = {
  "status": "PROGRESS",
  "wound_base":"1;4"
}
headers = {}

try:
    
    response = requests.post(exam_url, headers=headers, json=payload)
    response.raise_for_status()
    print("Successfully update examination")

Steffy Alen

Hi Sonia Perez Is here. I am Basically from Los Angeles. I have been around sports for more than 15 years as Official and player.I've developed a website to communicate with different people thinking about researching motivation, training and youth athlete nutrition.

Learn More →