From 7ba2971ae78b46cc2278e50dcc8d4d8ab9111a6f Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Wed, 7 Aug 2024 17:51:42 +0300 Subject: Use camelcase for json responses. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.md') 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" } ``` -- cgit v1.2.3