aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-03-13 06:25:13 +0300
committerFrederick Muriuki Muriithi2023-03-13 06:25:13 +0300
commit3dee24dc1e05893b49ace052ab61899e49a03bb7 (patch)
treea53e02f1c89288ed9808ff058fe9b258d6c39c56 /README.md
parent08ab26292b9ed2da9e91a683f38c6e1f532af4ee (diff)
downloadgenenetwork3-3dee24dc1e05893b49ace052ab61899e49a03bb7.tar.gz
Add 'ON UPDATE/DELETE' clauses to foreign keys.
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/README.md b/README.md
index 79657e3..aeb2db8 100644
--- a/README.md
+++ b/README.md
@@ -214,7 +214,17 @@ curl -X GET -H "Authorization: Bearer L3Q5mvehQeSUNQQbFLfrcUEdEyoknyblXWxlpKkvdl
```
to get all the members of a group with the ID
-`8f8d7640-5d51-4445-ad68-7ab217439804` where
+`8f8d7640-5d51-4445-ad68-7ab217439804`
+
+or:
+
+```sh
+curl -X POST "http://localhost:8080/api/oauth2/user/register" \
+ -F "email=a_new@users.email" -F "password=apasswd" \
+ -F "confirm_password=apasswd"
+```
+
+where
`L3Q5mvehQeSUNQQbFLfrcUEdEyoknyblXWxlpKkvdl` is the token you got in the
**Request Token** section above.