
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/readWrite Functionality
To insert or update an entry set, perform a PUT request to:
PUT https://hashmap.me/api/writeInclude 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));curl --location --request PUT 'https://hashmap.me/api/write' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data '{
    "key": "test",
    "value": "Value!"
}'package main
import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)
func main() {
  url := "https://hashmap.me/api/write"
  method := "PUT"
  payload := strings.NewReader(`{`+"
"+`
    "key": "test",`+"
"+`
    "value": "Value!"`+"
"+`
}`)
  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)
  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("x-api-key", "YOUR-API-KEY")
  req.Header.Add("Content-Type", "application/json")
  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()
  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}