Create major_list
Body
-
major_list object
POST
/api/v1/major_lists
curl \
-X POST http://127.0.0.1:3000//api/v1/major_lists \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"major_list":{"jurusan":"Teknik Informatika"}}'
Request example
{
"major_list": {
"jurusan": "Teknik Informatika"
}
}