Traccar API permissions - POST - response status code correction

jaimzj7 years ago

Referring to API : https://www.traccar.org/api-reference/#operation--permissions-post

The response expected while posting a permission as status code is 200, however the response received is 204 (no content) the one that is usually for DELETE.

Is this a bug?

Anton Tananaev7 years ago

I think it's fine. Any 2xx status code is basically a success.

jaimzj7 years ago

Oh cool thank you for that info, I will stick to 2xx as success :)