Closed elevu closed 1 year ago
Example query run ```curl -X 'POST' \ 'https://34.125.210.143/users/add/' \ -H 'accept: application/json' \ -H 'Authorization: Bearer XXXkOR_U8sHvzAa7vY' \ -H 'Content-Type: application/json' \ -d '{ "username": "Test12345", "email": "Test12345", "fullname": "Test12345", "disabled": false, "password": "Test12345" }'
```{ "detail": "User already exists in the database" }
the endpoint always returns Conflict
Example query run ```curl -X 'POST' \ 'https://34.125.210.143/users/add/' \ -H 'accept: application/json' \ -H 'Authorization: Bearer XXXkOR_U8sHvzAa7vY' \ -H 'Content-Type: application/json' \ -d '{ "username": "Test12345", "email": "Test12345", "fullname": "Test12345", "disabled": false, "password": "Test12345" }'
the endpoint always returns Conflict