Skip to main content
GET
/
clabes-validaciones
/
plantilla
Generar plantilla Excel para validación de cuentas CLABE
curl --request GET \
  --url https://rest.yafacture.com/clabes-validaciones/plantilla
const options = {method: 'GET'};

fetch('https://rest.yafacture.com/clabes-validaciones/plantilla', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "https://rest.yafacture.com/clabes-validaciones/plantilla"

response = requests.get(url)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://rest.yafacture.com/clabes-validaciones/plantilla",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
HttpResponse<String> response = Unirest.get("https://rest.yafacture.com/clabes-validaciones/plantilla")
.asString();
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://rest.yafacture.com/clabes-validaciones/plantilla"

req, _ := http.NewRequest("GET", url, nil)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
{
  "message": "Forbidden resource",
  "error": "Forbidden",
  "statusCode": 403
}

Response