Actions
Traffic Policy Actions enable you to manipulate, route or manage traffic on your endpoints in various ways.
List of Available Actions
The following actions are available for use on your endpoints:
add-headers
Add headers to your incoming requests or outgoing responses.
basic-auth
Enforce HTTP Basic Auth for your HTTP endpoints.
compress-response
Compress HTTP response bodies from your upstream server.
custom-response
Send a custom HTTP response directly back to the client.
deny
Deny incoming traffic to your endpoint at the HTTP layer.
forward-internal
Forward traffic to an internal endpoint within the same ngrok account.
jwt-validation
Validate JSON Web Tokens (JWTs) on your incoming requests.
log
Add log metadata to events for logging and monitoring.
rate-limit
Rate limit incoming traffic to your endpoint before it hits your upstream servers.
redirect
Redirect users through URL transformations using regular expressions.
remove-headers
Remove headers from incoming requests or outgoing responses.
restrict-ips
Allow or deny incoming traffic based on the client IP.
url-rewrite
Rewrite request URLs transparently using regular expressions.
verify-webhook
Validate incoming signatures against a known secret to ensure authenticity.