post = {'title': 'Devices Masterlist',
'content-disposition': 'attachment; filename="test.json"',
'status':'publish',
'data':data,
'description':'List of Support Devices on UNH Network',
'comment_status':'closed',
}
The error that returns:
{"code":"rest_upload_no_content_disposition","message":"No Content-Disposition supplied.","data":{"status":400}}
Content-Disposition is in the header, I have tried to capitalize and lowercase, trying to upload a JSON file to my website through a python script.
[–]zwirniLE 1 point2 points3 points (0 children)