{
	"info": {
		"_postman_id": "1e13f461-ccaa-436a-92e4-e14c05131b96",
		"name": "Maks-IT Agent (direct)",
		"description": "Calls the Maks-IT Agent HTTP API directly (not through MaksIT.CertsUI). Set collection variables agentBaseUrl (e.g. http://agent-host:5000) and agentKey.",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"variable": [
		{ "key": "agentBaseUrl", "value": "http://localhost:5000" },
		{ "key": "agentKey", "value": "" },
		{ "key": "serviceName", "value": "\"nginx\"" }
	],
	"item": [
		{
			"name": "reload service",
			"request": {
				"method": "POST",
				"header": [
					{ "key": "x-api-key", "value": "{{agentKey}}" },
					{ "key": "Accept", "value": "application/json" },
					{ "key": "Content-Type", "value": "application/json" }
				],
				"body": {
					"mode": "raw",
					"raw": "{\n  \"serviceName\": {{serviceName}}\n}",
					"options": { "raw": { "language": "json" } }
				},
				"url": "{{agentBaseUrl}}/Service/Reload"
			}
		},
		{
			"name": "hello world",
			"request": {
				"method": "GET",
				"header": [
					{ "key": "x-api-key", "value": "{{agentKey}}" }
				],
				"url": "{{agentBaseUrl}}/HelloWorld"
			}
		}
	]
}
