From 1e421ea3c6833bb31aa5bed1cd9649a7f153f92d Mon Sep 17 00:00:00 2001 From: Marco Holz <marco.holz@fitko.de> Date: Fri, 30 Jul 2021 09:53:49 +0000 Subject: [PATCH] POST /submissions/{submission-id} -> PUT --- docs/getting-started/sending/submit.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/getting-started/sending/submit.mdx b/docs/getting-started/sending/submit.mdx index d114dd4a9..d2b35c5c9 100644 --- a/docs/getting-started/sending/submit.mdx +++ b/docs/getting-started/sending/submit.mdx @@ -27,7 +27,7 @@ $ curl \ -H "Authentication: Bearer $JWT_TOKEN" \ -H "Content-Type: application/json" \ --data '{ "encryptedMetadata": "6r4H2H_WIzCv8Pd-uetmcbK...iVBKF3ylHRUahmZ" }' \ - -X POST $SERVICE_URL/submissions/$SUBMISSION_ID + -X PUT $SERVICE_URL/submissions/$SUBMISSION_ID ``` </TabItem> @@ -43,7 +43,7 @@ const data = { } const token = 'eyJhbGciOiJIUzI1NiJ9.eyJyYW5kb20iOiJyYW5kb20ifQ.lXckRWoWCUBG...w0HMEfE91jD1JPU' -axios.post( +axios.put( '/submissions/63f0c991-0635-4e18-8a4b-fb0c01de9f5c', data { -- GitLab