Question: How can i implement properly this HTTP Request with Axios and DeepL API ?

```
POST /v2/translate?auth_key=xxxxxxxxxxxxxxxxxxxxxxxxxxx> HTTP/1.0
Host: api.deepl.com
User-Agent: MyApp
Accept: */*
Content-Length: 54
Content-Type: application/x-www-form-urlencoded

auth_key=xxxxxxxxxxxxxxxxxxxxxxxxxxx&text=Hello, world&target_lang=DE

```

Answer: 
My request with Axios:

```
getTranslation ({ commit }, params) {
    axios
      .get(`https://api.deepl.com/v2/translate?auth_key=xxxxxxxxxxxxxxxxxxxxxxxxxx&text=Hello,%20world&target_lang=DE`,
        {headers: {
          'Cache-Control': 'no-cache',
          'Access-Control-Allow-Origin': '*'

        }})
      .then(response => {
        console.log(response, 'response')
      })
  },

```
Finally, it is a very bad idea to use an API key in front because the key is visible in the request, I passed everything in back and it works perfectly, like a charm