Open smiley-2 opened 5 years ago
Hi, Sorry, last week i was busy.
You can escape your special characters in your password with \ character.
For example, you can type the following command with a password containing '?' or '!'
curl --data "grant_type=password&client_id=<YOUR_CLIENT_ID>&client_secret=<YOUR_CLIENT_SECRET>&username=<YOUR_NETATMO_LOGIN>&password=yourpasswordwith\!and\?&scope=read_thermostat" "https://api.netatmo.com/oauth2/token"
I don't test it but it should work. Let me know.
Thanks it's works, but I just realise I haven't thermostat but multiple thermostatic faucet.
so it doesn't work for.
thanks again
hello,
when I want getting the refreshToken I have this error: -bash: !xxxxxxx?': event not found My password is interpreted, I use : ! et ? inside.
I think it's a typo But I'don't know what (I'm not good in curl)
thanks