1 of 20
2 of 20
3 of 20
4 of 20
5 of 20
6 of 20
7 of 20
8 of 20
9 of 20
10 of 20
11 of 20
12 of 20
13 of 20
14 of 20
15 of 20
16 of 20
17 of 20
18 of 20
19 of 20
20 of 20

doc

Edge Functions - JavaScript Examples

Using edge functions on the Azion Platform allows you to have a closer and faster communication to users. By making use of JavaScript, you’re able to effectively perform tasks that have great impact on people’s lives and business on a daily basis.

  1. Edge Functions - Edge Application
  2. Edge Functions - Edge Firewall

Edge Functions - Edge Application

A/B testing

Extract cookie value

Hello World

Redirect all requests to one URL

Respond with another site

Rest APIs

Return HTML

Return JSON

Using args


Edge Functions - Edge Firewall

Adding a response header

Deny a request based on Geoip

General edge functions on firewall example


Didn’t find what you were looking for? Open a support ticket.