Open KeizerDev opened 9 years ago
What do you mean? I have not noticed a change in how it works. Where did you read about the "change"?
This bash script still works for me:
#!/bin/bash
schoolprefix="SCHOOLPREFIX"
pid="LEERLINGENNUMMER"
pw="WACHTWOORD"
curl -X POST --cookie-jar ./cookie -d "Gebruikersnaam=$pid&Wachtwoord=$pw" https://$schoolprefix.magister.net/api/sessie
curl -X GET --cookie ./cookie https://$schoolprefix.magister.net/api/account
Does it still work for you? This is the new way of logging in in for me:
#!/bin/bash
schoolprefix="SCHOOLPREFIX"
pid="LEERLINGENNUMMER"
pw="WACHTWOORD"
curl -X DELETE --cookie-jar ./somefile https://$schoolprefix.magister.net/api/sessies/huidige
curl -X POST --cookie ./somefile -d "Gebruikersnaam=$pid&Wachtwoord=$pw" https://$schoolprefix.magister.net/api/sessies
Your new way to login does not work for me. What version of Magister does your school use? We are on 6.0.23
Version 6.0.24
Aha, that might explain some things. Does Schoolmaster publish update logs somewhere?
Yes, give me a sec.
https://$schoolprefix.magister.net/api/versie
Not really update logs, I think the date is very interesting
That's cool, but what I meant was a publication of what they added in new versions.
Yeah, but that's the only info the give..
Disappointing..
Hi,
Is there already someone who can explain how the new login protocol of Magister works? Just saw today about it today and was wondering of how I could implement this. Is there any bash script or something out there to try it out?