ves-io-schema-shape-bot_defense-subscription-CustomAPI-Subscribe

Examples of performing shapebotdefense_subscription CustomAPI Subscribe

Usecase:

                Subscribe, 
                

Request:

Request using vesctl:

vesctl request rpc shape_bot_defense_subscription.CustomAPI.Subscribe -i request.yaml --uri /public/subscribe --http-method POST

where file request.yaml has following contents:

{}

vesctl yaml response:

{}

Request using curl:

curl -X 'POST' -d '{}' -H 'Content-Type: application/json' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build038462651_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/bot_defense/subscribe'

curl response:

HTTP/1.1 200 OK
Content-Length: 4
Content-Type: application/json
Date: Wed, 12 Jan 2022 14:50:29 GMT
Vary: Accept-Encoding

{

}