---
title: "Dumi (@dumidummy) | Hashnode"
description: "Dumi (@dumidummy) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@dumidummy"
---

@dumidummy

# Dumi

@dumidummy · Joined March 2021

## Comments

[Thanks for your response, but the code above is code before I implemented it in token-hider.js (my current code). I don't know how to change it in token-hider.js. Your tutorial (and all the tutorials I read on Google) uses an API that puts the key in a parameters, while the API I use is in the headers. Aadhi Keerthanan](https://hashnode.com/posts/hide-api-keys-using-netlify-token-hider-function/5f809db97762251b305d8879/comment/60463d0a73cc1742999bfaf0#reply-604810b2c64c63545921cb95)

Reply · Article · Mar 10, 2021 · [Hide API Keys using Netlify token-hider Function](https://hashnode.com/posts/hide-api-keys-using-netlify-token-hider-function/5f809db97762251b305d8879)

[Hello, I found your article very useful. But, what if the API use the key in headers, not parameters? This is the example how I get data from the API: const BASE\_URL = "https://....."; const ENDPOINTS = "/type=movie"; // There is more than one endpoint, it's dynamic const API\_KEY = { headers: { "key": "value"; } }; axios.get(\`${BASE\_URL}${ENDPOINTS}\`, API\_KEY).then(........](https://hashnode.com/posts/hide-api-keys-using-netlify-token-hider-function/5f809db97762251b305d8879/comment/60463d0a73cc1742999bfaf0)

Comment · Article · Mar 8, 2021 · [Hide API Keys using Netlify token-hider Function](https://hashnode.com/posts/hide-api-keys-using-netlify-token-hider-function/5f809db97762251b305d8879)
