
import requests

url = "https://fernandoi.kapitalcompany.com/index.php?page=api_rrhh&action=action_colaboradores_activos"
jwt = "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3NzYzNjU0OTEsImRhdGEiOnsibmljayI6IkZlcm5hbmRvSSJ9fQ.pUN59ipY-C0mU1aYPsPcY-QuUDasRwMAv1DWmqmj7yI"

headers = {
    "Authorization": f"Bearer {jwt}"
}

try:
    response = requests.get(url, headers=headers)
    print(f"Status: {response.status_code}")
    print(response.text)
except Exception as e:
    print(f"Error: {e}")
