@lexho111/plainblog 0.5.25 → 0.5.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -89,6 +89,12 @@ The API should respond to GET-Requests (*http://example.com:5432/blog*) with jso
89
89
  }
90
90
  ```
91
91
 
92
+ Post requests should look like:
93
+
94
+ ```
95
+ curl -X POST http://example.com:5432/blog -H "Content-Type: application/json" -d "{\"title\": \"My new Article.\", \"content\": \"This is the content.\"}"
96
+ ```
97
+
92
98
  ### provide custom style sheets
93
99
 
94
100
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lexho111/plainblog",
3
- "version": "0.5.25",
3
+ "version": "0.5.26",
4
4
  "description": "A tool for creating and serving a minimalist, single-page blog.",
5
5
  "main": "index.js",
6
6
  "type": "module",