PostMedia function update

finished function for uploading media to python