DEV Community

Maximus Beato
Maximus Beato

Posted on • Originally published at apimesh.xyz

how to quickly identify allowed http methods on any url without manual testing

the problem

when testing web endpoints, figuring out which http methods are supported can be tedious and time-consuming. manually trying each method is slow and error-prone, risking unintended side effects.

the solution

our api programmatically enumerates supported http methods for any url. it returns a list of allowed methods, making security assessments and development workflows smoother.

example request:



curl https://http-method-enumeration.apimesh.xyz/check?url=https://example.com/api" 

**sample output:**
{
  "url": "https://example.com/api",
  "methods": ["GET", "POST"]
}


## how it works
the api sends an options request to the target url, checks the response headers for allowed methods, and returns the list as JSON. it’s a lightweight, automated way to validate what operations are permitted.

## try it
test it yourself with our free preview: https://http-method-enumeration.apimesh.xyz/preview?url=https://your-target-url

pricing: $0.005 per call, simple and pay-as-you-go.

use it to speed up security checks, automate endpoint discovery, and reduce manual testing pain.
Enter fullscreen mode Exit fullscreen mode

Top comments (0)