POST
/api/v1/majors
curl \
-X POST http://127.0.0.1:3000//api/v1/majors \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"major":{"jurusan1":"Teknik Informatika","jurusan2":"Sistem Informasi","jurusan3":"Teknik Elektro","gelombang":"PMDK Sumut"}}'
Request example
{
"major": {
"jurusan1": "Teknik Informatika",
"jurusan2": "Sistem Informasi",
"jurusan3": "Teknik Elektro",
"gelombang": "PMDK Sumut"
}
}