Hashmap.me Logo

Hashmap.me

Be aware, once a token is generated, it cannot be retrieved again. Make sure to write down your token to access your hashmap. If you lose it, you'll need to generate a new one.

What is Hashmap.me?

Hashmap.me is a streamlined service that lets you easily store and access your data records through HTTP, each linked to its own MongoDB collection, without the complexity of setting up a database.

Documentation

API Key Header

For all requests, include the following header with your Hashmap token:

x-api-key: [Your Hashmap Token]

Read Functionality

To retrieve all hashmap entry sets, perform a GET request to:

GET https://hashmap.me/api/read

Write Functionality

To insert or update an entry set, perform a PUT request to:

PUT https://hashmap.me/api/write

Include the following in the request JSON body:

Body Parameters:

  • KEY: Unique identifier for the value being stored.
  • VALUE: The data to be stored in the hashmap.

Examples

var myHeaders = new Headers();
myHeaders.append("x-api-key", "[YOUR-API-KEY]");
myHeaders.append("Content-Type", "application/json");

var raw = JSON.stringify({
  "key": "test",
  "value": "Value!"
});

var requestOptions = {
  method: 'PUT',
  headers: myHeaders,
  body: raw
};

fetch("https://hashmap.me/api/write", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));