@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.
- package/README.md +6 -0
- 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
|
```
|