Commit 96b3d2b9 authored by neelesh thakur's avatar neelesh thakur
Browse files

address comments

parent f42bdfc1
Pipeline #4298 failed with stage
in 7 seconds
......@@ -39,7 +39,7 @@ POST api/register/v1/topics
```
curl --request GET \
--url 'https://register.osdu.com/api/register/v1/topics' \
--url 'https://register-svc.osdu.com/api/register/v1/topics' \
--header 'Authorization: Bearer <JWT>' \
--header 'Content-Type: application/json' \
--header 'data-partition-id: common' \
......@@ -92,7 +92,7 @@ Below are the details of the two types of Subscriptions and the challenge proces
```
curl --request POST \
--url 'https://register.osdu.com/api/register/v1/subscription \
--url 'https://register-svc.osdu.com/api/register/v1/subscription \
-header 'Authorization: Bearer <JWT>' \
-header 'Content-Type: application/json' \
-header 'data-partition-id: common' \
......@@ -277,7 +277,7 @@ private byte[] computeHmacSha256(final byte[] data, final byte[] key) throws Exc
```
curl --request POST \
--url 'https://register.osdu.com/api/register/v1/subscriber \
--url 'https://register-svc.osdu.com/api/register/v1/subscriber \
-header 'Authorization: Bearer <JWT>' \
-header 'Content-Type: application/json' \
-header 'data-partition-id: common' \
......@@ -407,7 +407,7 @@ GET /api/register/v1/subscription/{id}
```
curl --request GET \
--url 'https://register.osdu.com/api/register/v1/subscription/{id} \
--url 'https://register-svc.osdu.com/api/register/v1/subscription/{id} \
--header 'Authorization: Bearer <JWT>' \
--header 'data-partition-id: common'
......@@ -427,7 +427,7 @@ DELETE /api/register/v1/subscription/{id}
```
curl --request DELETE\
--url 'https://register.osdu.com/api/register/v1/subscription/<id>' \
--url 'https://register-svc.osdu.com/api/register/v1/subscription/<id>' \
--header 'authorization: Bearer <JWT>' \
--header 'content-type: application/json' \
--header 'data-partition-id: common'
......@@ -587,7 +587,7 @@ PUT /api/register/v1/subscription/{id}/secret
```
curl --request PUT \
--url 'https://register.osdu.com/api/register/v1/subscription/{id}/secret' \
--url 'https://register-svc.osdu.com/api/register/v1/subscription/{id}/secret' \
--header 'authorization: Bearer <JWT>' \
--header 'content-type: application/json' \
--header 'data-partition-id: common' \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment