|
|
|
|
|
by tiemster
220 days ago
|
|
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/...
|
|