David's API Endpoints
This site provides the documentation for a collection of simple Application Programming Interface (API) endpoints written by David, powered by AWS Lambda, and invoked through AWS API Gateway. Each endpoint runs cloud-hosted Python code and returns a JSON response.
Each endpoint can be called via the subdomain api.davidwilhelm.tech
Available Endpoints
-
/hello
Returns a friendly greeting. Optionally accepts anameparameter.
Example:https://api.davidwilhelm.tech/hello?name=David -
/ping
Measures HTTP latency to a specified URL. Requires aURLparameter.
Example:https://api.davidwilhelm.tech/ping?url=https://google.com -
More endpoints coming soon
Each endpoint returns structured JSON and can be accessed directly in a browser, through
command-line tools such as curl, or from other scripts and applications.