Create Edge Rules For CDN Project

Closed Posted 6 years ago Paid on delivery
Closed Paid on delivery

Hi

We need help with our Edge Rules on our CDN to work with a REST API URL.

See [url removed, login to view]

We start with the following URL Format

[url removed, login to view]$devicelibraryidentifier/registrations/pass.1$code?passesUpdatedSince=$timestamp

Edge Rules Need To Do The Following

1) Is It A GET Request (YES) - You can test using a Web Browser

2) Find "pass.1" in the URL

3) Read the characters that follow before the Query String ($code)

4) All variables will change ($deviceLibaryIdentifier/$code/$timestamp)

5) Redirect to [url removed, login to view]$code

6) The URL being redirected to in this example being [url removed, login to view]

Good luck

Nginx

Project ID: #15788387

About the project

Remote project Active 6 years ago