Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 986cd63

Browse files
fix: Removed extra slash in URI (nginx#253)
Fixed wrong URI
1 parent 6ad874d commit 986cd63

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/nim/nginx-app-protect/setup-waf-config-management.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ You will need to use your NGINX repo certificates to setup automatic retrieval o
252252
<summary>Example request</summary>
253253
254254
```shell
255-
curl -X POST 'https://{{NMS_FQDN}}//api/platform/v1/certs' \
255+
curl -X POST 'https://{{NMS_FQDN}}/api/platform/v1/certs' \
256256
--header "Authorization: Bearer <access token>" \
257257
--header "Content-Type: application/json" \
258258
@@ -372,7 +372,7 @@ You will need to use the [Instance Manager REST API]({{< relref "/nim/fundamenta
372372
<summary>Attack Signatures Example</summary>
373373
374374
```shell
375-
curl -X POST 'https://{{NMS_FQDN}}//api/platform/v1/security/attack-signatures' \
375+
curl -X POST 'https://{{NMS_FQDN}}/api/platform/v1/security/attack-signatures' \
376376
--header "Authorization: Bearer <access token>" \
377377
--form 'revisionTimestamp="2022.11.16"' \
378378
--form 'filename=@"/attack-signatures.tgz"'
@@ -384,7 +384,7 @@ curl -X POST 'https://{{NMS_FQDN}}//api/platform/v1/security/attack-signatures'
384384
<summary>Threat Campaigns Example</summary>
385385
386386
```shell
387-
curl -X POST 'https://{{NMS_FQDN}}//api/platform/v1/security/threat-campaigns' \
387+
curl -X POST 'https://{{NMS_FQDN}}/api/platform/v1/security/threat-campaigns' \
388388
--header "Authorization: Bearer <access token>" \
389389
--form 'revisionTimestamp="2022.11.15"' \
390390
--form 'filename=@"/threat-campaigns.tgz"'

0 commit comments

Comments
 (0)