Explore Edgio's functionalities:
A basic "Hello World" example.
View Examplecurl -i https://edgio-community-examples-v7-edge-functions-live.edgio.link/example/hello-world
Manipulate headers in your response.
View Examplecurl -i https://edgio-community-examples-v7-edge-functions-live.edgio.link/example/change-headers.json
Generate dynamic JSON responses.
View Examplecurl -i https://edgio-community-examples-v7-edge-functions-live.edgio.link/example/generate.json
Combine content with HTML injections.
View Examplecurl -i https://edgio-community-examples-v7-edge-functions-live.edgio.link/example/content-stitching
Simulate redirect scenarios.
curl -i https://edgio-community-examples-v7-edge-functions-live.edgio.link/example/redirects/first
curl -i https://edgio-community-examples-v7-edge-functions-live.edgio.link/example/redirects?queryRedirect=example
curl -i https://edgio-community-examples-v7-edge-functions-live.edgio.link/example/redirects/no-redirect-match
Explore database interactions using different databases.
A waiting room example using Upstash + Redis.
Examples demonstrating caching for different request types. Observe unique caching for GET and POST w/ body requests.
curl -i https://edgio-community-examples-v7-edge-functions-live.edgio.link/example/caching
curl -i -X POST https://edgio-community-examples-v7-edge-functions-live.edgio.link/example/caching -d '{"key": "value1"}'
curl -i -X POST https://edgio-community-examples-v7-edge-functions-live.edgio.link/example/caching -d '{"key": "value2"}'
Request signing and verification using crypto-js. Generated URLs are valid for 60 seconds.
Note: Edge Functions requires activation on your account. Learn more.