DEV Community

Andrea Stagi
Andrea Stagi

Posted on

Announcing JSON {BIN} IT! service to store your JSON files

Since one of our favourite services to store JSON files went down (myjson.com), me and my pal @mino89 decided to write a new one by our own: that's how JSON {BIN} IT! was born πŸ¦„

This service is ideal for hobbies projects, MVP and any other situation where you don't want to create a data storage. Using JSON {BIN} IT! is really straightforward, you can create a new JSON directly from the website or sending a POST request to the API endpoint

https://api.jsonbin.it/bins/

including the JSON you want to store in the body of the request.

{ "value" : 2000 }
Enter fullscreen mode Exit fullscreen mode

The response will be something like

{ "bin" : "l088fgWQ" }
Enter fullscreen mode Exit fullscreen mode

where bin is the id of your JSON that you can retrive sending a GET request to another API endpoint,

https://api.jsonbin.it/bins/:binid

{ "value" : 2000 }
Enter fullscreen mode Exit fullscreen mode

The service is still in beta version, is open source (https://github.com/jsonbinit) and there are some good first issues in the repositories, any contribution or suggestion would be appreciated!

Discussion (2)

Collapse
daviducolo profile image
Davide Santangelo

great job! Take a look at my service also datoji.dev

Collapse
astagi profile image
Andrea Stagi Author

Hey Davide! Thanks ❀️ our service is really simple, Datoji.dev looks great and full of awesome features! Looks great πŸ‘