{
  "service": "Proxy CORS para Hacienda (Costa Rica)",
  "status": "ok",
  "cors": "enabled",
  "allowed_origins": [
    "https://geneveesthetic.com",
    "https://www.geneveesthetic.com"
  ],
  "preview_suffix": "vibepreview.com",
  "message": "Envía la cabecera 'x-hacienda-target' o el query param ?target= con la URL de Hacienda",
  "allowed_hosts": [
    "idp.comprobanteselectronicos.go.cr",
    "api-sandbox.comprobanteselectronicos.go.cr",
    "api.comprobanteselectronicos.go.cr"
  ],
  "methods": [
    "GET",
    "POST",
    "PUT",
    "DELETE",
    "PATCH",
    "OPTIONS"
  ],
  "example_header": {
    "url": "https://hacienda.shiny-dawn-921a.workers.dev",
    "method": "POST",
    "headers": {
      "Content-Type": "application/x-www-form-urlencoded",
      "x-hacienda-target": "https://idp.comprobanteselectronicos.go.cr/auth/realms/rut/protocol/openid-connect/token"
    },
    "body": "grant_type=password&client_id=api-stag&username=TU_USUARIO&password=TU_PASSWORD"
  },
  "example_query": "https://hacienda.shiny-dawn-921a.workers.dev?target=https%3A%2F%2Fidp.comprobanteselectronicos.go.cr%2Fauth%2Frealms%2Frut%2Fprotocol%2Fopenid-connect%2Ftoken"
}