cURL
curl --request GET \ --url https://api.example.com/v1/materials/{code} \ --header 'Authorization: Bearer <token>'
{ "code": "<string>", "name": "<string>", "type": "<string>" }
Get material by code.
Material code.
The request has succeeded.
Material name.
Material type.