Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new headers needed #2

Open
benjaminfrombe opened this issue Sep 5, 2018 · 1 comment
Open

new headers needed #2

benjaminfrombe opened this issue Sep 5, 2018 · 1 comment

Comments

@benjaminfrombe
Copy link

These headers are needed since last week:

User-Agent: Mozilla/5.0 (Linux; Android 9.0.0; VS985 4G Build/LRX21Y; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/58.0.3029.83 Mobile Safari/537.36
X-Tesla-User-Agent: TeslaApp/3.4.4-350/fad4a582e/android/9.0.0

@NiborK
Copy link

NiborK commented Apr 29, 2019

Hi,
I want to use the "php-api-tesla". When I run token.php I get the message "Done. Tokens written to file: token..Our servers are waiting for a supercharger spot..". After that I run vehicle.php, and get the message "Tokens are valid 3 months. Yours has expired. You need to generate a new token. Run token.php and vehicle.php now". Probably I need the headers what is stated in the "issues.
I am not familiar with php. Where to put these headers, is it in init.php? Can you show me where to put these header in the files.
Regards Robin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants