{
	"info": {
		"_postman_id": "08f15a88-aad8-421d-8a78-f19ee386dd3f",
		"name": "CSV Read and HTTP POST (Public)",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "26418001"
	},
	"item": [
		{
			"name": "CSV FIle Read with encoded data",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.collectionVariables.set('timestamp', pm.iterationData.get('timestamp'));\r",
							"pm.collectionVariables.set('port',pm.iterationData.get('port'));\r",
							"pm.collectionVariables.set('hexEncoded',pm.iterationData.get('hexEncoded'));\r",
							"pm.collectionVariables.set('snr',pm.iterationData.get('snr'));\r",
							"pm.collectionVariables.set('rssi',pm.iterationData.get('rssi'));\r",
							"pm.collectionVariables.set('spreadingFactor',pm.iterationData.get('spreadingFactor'));\r",
							"pm.collectionVariables.set('fCntUp',pm.iterationData.get('fCntUp'));\r",
							""
						],
						"type": "text/javascript",
						"packages": {}
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\r\n    \"secret\": \"ELSYS765456\",\r\n    \"timestamp\" : \"{{timestamp}}\",\r\n     \"encodedData\" : {\r\n        \"port\": {{port}},\r\n        \"hexEncoded\": \"{{hexEncoded}}\"\r\n    },\r\n    \"spreadingFactor\" : {{spreadingFactor}},\r\n    \"fCntUp\" : {{fCntUp}},\r\n    \"rssi\" : {{rssi}},\r\n    \"snr\" : {{snr}}\r\n\r\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://public.yggio.net/http-push/generic",
					"protocol": "https",
					"host": [
						"public",
						"yggio",
						"net"
					],
					"path": [
						"http-push",
						"generic"
					],
					"query": [
						{
							"key": "timestamp",
							"value": "",
							"disabled": true
						},
						{
							"key": "hexEncoded",
							"value": "",
							"disabled": true
						},
						{
							"key": "port",
							"value": "",
							"disabled": true
						},
						{
							"key": "snr",
							"value": null,
							"disabled": true
						},
						{
							"key": "rssi",
							"value": null,
							"disabled": true
						},
						{
							"key": "fCntUp",
							"value": null,
							"disabled": true
						},
						{
							"key": "spreadingFactor",
							"value": null,
							"disabled": true
						}
					]
				}
			},
			"response": []
		}
	],
	"variable": [
		{
			"key": "timestamp",
			"value": ""
		},
		{
			"key": "data",
			"value": ""
		},
		{
			"key": "label",
			"value": ""
		},
		{
			"key": "rssi",
			"value": ""
		},
		{
			"key": "snr",
			"value": ""
		},
		{
			"key": "spreadingFactor",
			"value": ""
		},
		{
			"key": "port",
			"value": ""
		},
		{
			"key": "fCntUp",
			"value": ""
		},
		{
			"key": "hexEncoded",
			"value": ""
		}
	]
}