#!/usr/bin/env python3
"""
Test with new server endpoint
"""
import requests

API = 'http://154.57.164.76:32127/api'

uid = '04f6555b'
username = '6178656c5f6f757472756e'  # axel_outrun

# Test basic connection
data = {
    'uid': uid,
    'username': username,
    'authorization_code': '0292640464020a820860081608cd0833',
    'access_level': '085e0831084d084f0886083408cd081f'
}

print("[*] Testing connection to new server...")
try:
    r = requests.post(API, data=data, timeout=3)
    result = r.json()
    print(f"✓ Server is UP!")
    print(f"Response: {result}")
except Exception as e:
    print(f"✗ Error: {e}")
