{
	"info": {
		"_postman_id": "79704cc9-c512-43dc-a6b8-86c16f9c6c3c",
		"name": "itde",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "Login & Register & reset",
			"item": [
				{
					"name": "login",
					"protocolProfileBehavior": {
						"disabledSystemHeaders": {}
					},
					"request": {
						"auth": {
							"type": "noauth"
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "email",
									"value": "test@test.com",
									"type": "text"
								},
								{
									"key": "password",
									"value": "!2M33412a",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{local}}/login",
							"host": [
								"{{local}}"
							],
							"path": [
								"login"
							]
						}
					},
					"response": []
				},
				{
					"name": "logout",
					"protocolProfileBehavior": {
						"disabledSystemHeaders": {}
					},
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{token}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "lang",
									"value": "ar",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{local}}/logout",
							"host": [
								"{{local}}"
							],
							"path": [
								"logout"
							]
						}
					},
					"response": []
				},
				{
					"name": "my account - me",
					"protocolProfileBehavior": {
						"disabledSystemHeaders": {}
					},
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{token}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "lang",
									"value": "ar",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{local}}/me",
							"host": [
								"{{local}}"
							],
							"path": [
								"me"
							]
						}
					},
					"response": []
				},
				{
					"name": "refresh",
					"protocolProfileBehavior": {
						"disabledSystemHeaders": {}
					},
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{token}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "lang",
									"value": "ar",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{local}}/refresh",
							"host": [
								"{{local}}"
							],
							"path": [
								"refresh"
							]
						}
					},
					"response": []
				},
				{
					"name": "change password",
					"protocolProfileBehavior": {
						"disabledSystemHeaders": {}
					},
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{token}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "current_password",
									"value": "!2M33412a",
									"type": "text"
								},
								{
									"key": "new_password",
									"value": "Aswe!2",
									"type": "text"
								},
								{
									"key": "password_confirmation",
									"value": "Aswe!2",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{local}}/change/password",
							"host": [
								"{{local}}"
							],
							"path": [
								"change",
								"password"
							]
						}
					},
					"response": []
				},
				{
					"name": "register",
					"protocolProfileBehavior": {
						"disabledSystemHeaders": {}
					},
					"request": {
						"auth": {
							"type": "noauth"
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "name",
									"value": "test",
									"type": "text"
								},
								{
									"key": "email",
									"value": "test@test.com",
									"type": "text"
								},
								{
									"key": "password",
									"value": "!2M33412a",
									"type": "text"
								},
								{
									"key": "lang",
									"value": "ar",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{local}}/register",
							"host": [
								"{{local}}"
							],
							"path": [
								"register"
							]
						}
					},
					"response": []
				}
			]
		}
	],
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		}
	],
	"variable": [ 
		{
			"key": "local",
			"value": "https://example.com/api/v1"
		},
		{
			"key": "token",
			"value": ""
		}
	]
}