{
  "info": {
    "name": "Mbojao-API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "item": [
    {
      "name": "Login usuário",
      "request": {
        "method": "POST",
        "header": [
          { "key": "Content-Type", "value": "application/json", "type": "text" }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"cpf\": \"00000000191\",\n  \"senha\": \"123456\",\n  \"device_id\": \"meu-aparelho-123\"\n}"
        },
        "url": {
          "raw": "http://localhost/api/usuario/login2.php",
          "protocol": "http",
          "host": ["localhost"],
          "path": ["sigaf", "api", "usuario", "login.php"]
        }
      },
      "response": []
    },
    {
      "name": "Buscar perfil (rota protegida)",
      "request": {
        "method": "GET",
        "header": [
          { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" }
        ],
        "url": {
          "raw": "http://localhost/api/usuario/dados_perfil2.php",
          "protocol": "http",
          "host": ["localhost"],
          "path": ["sigaf", "api", "usuario", "dados_perfil.php"]
        }
      },
      "response": []
    }
  ]
}
