Logo
42cabi API Documentation

user

POST {{baseUrl}}/api/user

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status





Curl
curl -X POST 'localhost:3000/api/user' -F '{"name"=>"user_id", "value"=>"number", "datatype"=>"string"}=' -F '{"name"=>"intra_id", "value"=>"number", "datatype"=>"string"}=' -F '{"name"=>"auth", "value"=>"bool", "datatype"=>"string"}=' -F '{"name"=>"email", "value"=>"string", "datatype"=>"string"}=' -F '{"name"=>"phone", "value"=>"string", "datatype"=>"string"}=' -F '{"name"=>"lent_id", "value"=>"number", "datatype"=>"string"}=' -F '{"name"=>"cabinet_id", "value"=>"number", "datatype"=>"string"}=' -F '{"name"=>"lent_time", "value"=>"datetime", "datatype"=>"string"}=' -F '{"name"=>"expire_time", "value"=>"datetime", "datatype"=>"string"}=' -F '{"name"=>"extention", "value"=>"bool", "datatype"=>"string"}='

ENDPOINTS