cURL
curl --request POST \ --url https://api.example.com/api/dept/add \ --header 'Authentication: <authentication>' \ --header 'Content-Type: application/json' \ --data ' { "parentId": "<string>", "deptName": "<string>" } '
{}
The response is of type object.
object