API
The Gcore Customer Portal is being updated. Screenshots may not show the current version.
CDN
CDN
BillingCDN resources overviewOrigin groupPurgePrefetchReports
API
Chosen image
Home/CDN/CDN resource options/Access/Specify HTTP methods

Specify HTTP methods allowed for content requests from the CDN

You can choose HTTP methods for your CDN content. By default the following methods are allowed: GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS. To manage allowed HTTP method navigate to CDN Resources, click Settings of the Resource, open Advanced Settings. Find the Specify HTTP Methods option and select needed ones.

By specifying necessary request methods you block all the others. The most used methods are GET, HEAD and POST, so we suggest you allowing at least them. In case some methods are not allowed to the user, they will get the 405 (Method Not Allowed) response. If the method is not supported by your server, the user gets the 501 (Not Implemented) response.

Specify HTTP methods

Was this article helpful?

Not a Gcore user yet?

Learn more about our next-gen CDN

Go to the product page