Download data/lib/python3.10/site-packages/awscli/examples/apigateway/put-method.rst from ZTWHHH/envs_1: direct link, hf CLI and curl.
- Browser
- Download file 337 Bytes
-
https://huggingface.co/datasets/ZTWHHH/envs_1/resolve/main/data/lib/python3.10/site-packages/awscli/examples/apigateway/put-method.rst
- Command line
-
hf download hf://datasets/ZTWHHH/envs_1/data/lib/python3.10/site-packages/awscli/examples/apigateway/put-method.rst
-
curl -L -o put-method.rst https://huggingface.co/datasets/ZTWHHH/envs_1/resolve/main/data/lib/python3.10/site-packages/awscli/examples/apigateway/put-method.rst
337 Bytes
| **To create a method for a resource in an API with no authorization, no API key, and a custom method request header** | |
| Command:: | |
| aws apigateway put-method --rest-api-id 1234123412 --resource-id a1b2c3 --http-method PUT --authorization-type "NONE" --no-api-key-required --request-parameters "method.request.header.custom-header=false" | |