Store and retrieve your JSON data for free using simple GET and POST requests https://www.jsonstorage.net/. Based on .NET Core and Azure Cosmos DB.
Get JSON (can be public or require API key): GET https://api.jsonstorage.net/v1/json/{userId}/{itemId}
Create JSON: POST https://api.jsonstorage.net/v1/json?apiKey={your_api_key}
Update JSON: PUT https://api.jsonstorage.net/v1/json/{userId}/{itemId}?apiKey={your_api_key}
Patch JSON: PATCH https://api.jsonstorage.net/v1/json/{userId}/{itemId}?apiKey={your_api_key}
API example: uses jsonstorage as a data provider for storing to-dos
- Source Code todomvc-jsonstorage
- Hosted Demo https://todomvc-jsonstorage.azurewebsites.net/
React + Netlify
PowerShell
Python
The app https://app.jsonstorage.net is a UI for managing JSON snippets. It provides a few extra features in addition to the public API
Item is a piece of content you want to serve. Each item created from the app is tied to your user profile and cannot be edited without the API key.
Api Key allows editing the content from the API. There are two types of API keys: normal and read-only.
Create JSON (authenticated) POST https://api.jsonstorage.net/v1/json/%item_id%?apiKey=%api_key%
Update JSON (authenticated) PUT https://api.jsonstorage.net/v1/json/%item_id%?apiKey=%api_key%
Intents allow to personalize served content based on one or many of the following:
- Query String
- Request Header
- IP Address
- Country (based on IP, use full country name in English)
- (more to be added)
You create intents first, and then assign intents and desired outputs to one of the items. The rules are executed top to bottom, the last rule (if applicable) will override the previous one.
You can serve personalized content for website built with React, NextJS, and other frameworks.
https://jsonstorage-demo-react.netlify.app/
Try with query string:
- ?persona=developer
- ?persona=marketer
This project was created by taking sample React website from here, then:
npm install @jsonstorage/personalize-react
and updating the code to use personalized title and text:
The data is stored here: https://app.jsonstorage.net/