{
	"info": {
		"_postman_id": "026aca11-477f-4bed-9569-c86fbcbacabe",
		"name": "Server Files",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "15130557"
	},
	"item": [
		{
			"name": "Upload Imagenes",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"const raw = JSON.parse(responseBody);\r",
							"postman.setGlobalVariable('token', raw.token);"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "{{token}}",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [],
				"body": {
					"mode": "formdata",
					"formdata": [
						{
							"key": "images",
							"type": "file",
							"src": ""
						}
					]
				},
				"url": {
					"raw": "https://{{cliente}}.msinacatalog.com/files/api/upload/imagenes",
					"protocol": "https",
					"host": [
						"{{cliente}}",
						"msinacatalog",
						"com"
					],
					"path": [
						"files",
						"api",
						"upload",
						"imagenes"
					]
				}
			},
			"response": []
		},
		{
			"name": "Api Login",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"var raw = responseBody\r",
							"postman.setGlobalVariable('token', raw);"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"auth": {
					"type": "basic",
					"basic": [
						{
							"key": "password",
							"value": "asdfasdfasdf",
							"type": "string"
						},
						{
							"key": "username",
							"value": "usuario",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [],
				"url": {
					"raw": "https://{{cliente}}.msinacatalog.com/api/v1/login",
					"protocol": "https",
					"host": [
						"{{cliente}}",
						"msinacatalog",
						"com"
					],
					"path": [
						"api",
						"v1",
						"login"
					]
				}
			},
			"response": []
		}
	],
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		}
	],
	"variable": [
		{
			"key": "cliente",
			"value": "nombre_cliente",
			"type": "string"
		}
	]
}