Does anyone know how to send None with requests? As I understand that by having None will make Python ignore 'port_id' and that it will not be included in the body.
Is there a way to change that and make sure None is sent?
data = {'port_id': None,
'token': TOKEN}
r = requests.put(URL + 'api/port/'+ str('id') + '', data=data, verify=False)