aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlexander_Kabui2024-08-07 17:51:42 +0300
committerMunyoki Kilyungi2024-08-09 11:55:16 +0300
commit7ba2971ae78b46cc2278e50dcc8d4d8ab9111a6f (patch)
treed3b591abe4c1a8c9bb0835cf9e3ffee1fd37591d /README.md
parent91dadb486ee098ad65982ae97a3f2ae946b42e9e (diff)
downloadgn-guile-7ba2971ae78b46cc2278e50dcc8d4d8ab9111a6f.tar.gz
Use camelcase for json responses.
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 53e57df..11f892a 100644
--- a/README.md
+++ b/README.md
@@ -68,7 +68,7 @@ curl -G -d "file_path=test.md" localhost:8091/edit
```json
{
-"path": "test.md",
+"file_path": "test.md",
"content": "Test for new user\n test 2 for line\n test 3 for new line\n ## real markdown two test\n",
"hash": "ecd96f27c45301279150fbda411544687db1aa45"
}
@@ -125,7 +125,7 @@ curl -X POST http://127.0.0.1:8091/commit \
{
"status": "200",
"message": "Nothing to commit, working tree clean",
-"commit-sha": "ecd96f27c45301279150fbda411544687db1aa45"
+"commit_sha": "ecd96f27c45301279150fbda411544687db1aa45"
}
```