79086617

Date: 2024-10-14 14:45:41
Score: 1.5
Natty:
Report link

When getting the URL, FileSize also has to be specified unless it's specified elsewhere.

# First, get URL for file upload
response = requests.post(url, headers=headers, json={
    "FileName": file_name,
    "Raw": True,
    "FileSize": len(file),
})
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: Alexey Yunoshev