Comment

Comment by tiemster

Created a self-hosted API for CRUD-ing JSON data using GO. Helps me with quick/flexible data storage tasks that can easily interface with different programs.

The API is based on the JSON structure. So the example below is for CRUD-ing [key1][key2] in file.json. The value (which can be anything) is then added to the body of the request. Moreover, there are helper functions for appending and incrementing values.

  DELETE/PUT/GET: localhost:8080/api/file/key1/key2/...
parent tiemster 1 year ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton