Create high_school_major_list

POST /api/v1/high_school_major_lists
application/json

Body

  • Hide high_school_major attribute Show high_school_major attribute object
    • jurusan string Required

      Minimum length is 3, maximum length is 25.

Responses

POST /api/v1/high_school_major_lists
curl \
 -X POST http://127.0.0.1:3000//api/v1/high_school_major_lists \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"high_school_major":{"jurusan":"IPA"}}'
Request example
{
  "high_school_major": {
    "jurusan": "IPA"
  }
}