I am trying to create a glossary using DeepL's api.
This is DeepL's api for creating glossaries: https://www.deepl.com/en/docs-api/managing-glossaries/
Under the documentation, I should be able to set an authorization header, and send a body of texts to be added to a glossary.
I am still using postman as I am probing my possibilities, but can't get it to work. I get met with a "Invalid or missing Authorization header" response. I am able to use my authorization key to do normal translation, but not glossary creation. (I have pro account)
I tried:
- Sending a POST request at https://api.deepl.com/v2/glossaries
- Adding an API key under authorization, setting the key to "DeepL-Auth-Key" and the value to my API key
- Adding a auth_key query containing my authorization key
- Add a body just as the example was given
Am I missing something? If my body was bad I'd be getting another error, but am currently clueless since there weren't many questions in regards to this.