Skip to content
Snippets Groups Projects
Commit 1e421ea3 authored by Marco Holz's avatar Marco Holz
Browse files

POST /submissions/{submission-id} -> PUT

parent 3fd1af6e
No related branches found
No related tags found
No related merge requests found
......@@ -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
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment