update device bad request

vahid2 years ago

Hello
When I want to update a device, I encounter error 400

data = {"name":"name device"}
response = requests.put("https://demo4.traccar.org/api/devices/1", auth=(username, password), json=data, headers={'Content-Type':'application/json'})
Anton Tananaev2 years ago

What's the error message?