Hi,
currently I am using a http get request to the free deepl api to translate the weather forecast from open weather.
Now, deepl is depressing get request and requires post requests effective March 14th:
Ah, missed that part.
To me, your flowcard appears to be OK, it looks like the card below;
Make sure the line break between your auth-key and Content-type should be created with the Shift+Enter key combi
Unfortunately I can’t test myself, since no creditcards present here.
But, 403 Forbidden means your key is incorrect, or is it possible you’ve exceeded the max API calls? (500.000 character limit / month)
Note: The incorrect (transmitted) key might be a result of a unallowed trailing linebreak
solved…
it´s crazy… and quite logical at the same time:
Authorization: DeepL-Auth-Key [yourAuthKey]
Really means “Authorization: DeepL-Auth-Key [yourAuthKey]”, i.e. not everything after “”:" is replaced with the Auth Key, but only [yourAuthKey]…
Oh that’s odd! Good find.
The logical thing (to me) would be to only enter the auth key (assuming the other text is for explanation purposes only. But, “thy should not assume” )
But when you look close at the example, it really shows were to put the auth key exactly