cURL
curl --request POST \ --url https://api.example.com/api/v1/rooms \ --header 'Content-Type: application/json' \ --data ' { "room_number": "<string>", "block_id": "<string>", "instance_id": "<string>", "name": "<string>", "capacity": 123 } '
curl -X POST https://api.checkpoint.b-digital.uk/api/v1/rooms \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "room_number": "101", "block_id": "block123", "instance_id": "se8SajpJDWUwrEmhElLF", "name": "Room 101", "capacity": 4 }'