Create language
POST
/api/v1/languages
curl \
-X POST https://spmb-api-c3753c42f80c.herokuapp.com/api/v1/languages \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"language":{"nama_bahasa":"Bahasa Indonesia","tingkat":"Pemula"}}'
Request example
{
"language": {
"nama_bahasa": "Bahasa Indonesia",
"tingkat": "Pemula"
}
}