Cookbook
#
Protecting Access using JWT Tokens
#
Performing Additional Checks on JWT Access Tokens
#
Proxying Requests to Upstream APIs (Swagger)
#
Testing Templates
#
Testing API Requests
#
Testing with Backend Requests
#
File Serving
#
Error Handling
#
Extracting Common Initialization Flow Tasks
#
Using Environment Variables
#
Logging Custom Fields
#
Forwarding a Request to an Upstream API (Flow)
#
How can I pass an arbitrary header field to an upstream system?
#
How can I pass response headers to the client?
#
How can I increase the request timeout to deal with a slow upstream system?
#
Sending POST requests
#
Signing JWT
#
How can I inspect the client request?
#
Auto Docs with Swagger UI
#
Using the Built-in Mocking
#
Overview
Administration
Docker
Configuration
Logging
Security
Development
Reference
Actions
auth
copy
debug
dump
echo
error
eval
log
nameshave
pass-body
proxy-request
regex
request
requests
serve
set-config
set-response-headers
set-status
sub-flow
template
xslt
Configuration
Debugging
Flow
Functions
apply-codecs()
array()
array-reverse()
base64-decode()
base64-encode()
body()
calc-signature()
capitalize-first()
content()
datetime-format()
datetime-parse()
datetime-parse-iso()
decrypt-xml()
decrypt()
encrypt()
ends-with()
file-exists()
fit-document()
fit-log()
fit-serialize()
get-log()
has-class()
html-parse()
join()
json-doc()
json-parse()
json-stringify()
json-to-csv()
json-to-xml()
jwt-decode()
jwt-encode()
ldap-lookup()
ldap-query()
lookup()
matches()
md5()
replace()
sort()
split()
tolower()
toupper()
trim()
unixtime()
urldecode(), url-decode()
urlencode(), url-encode()
uuid3() and uuid4()
verify-signature()
verify-xmldsig()
xml-parse()
xml-to-json()
JSON Templates
OXN
Comment {{//
}}
Placeholder {{
}}
Dot {{.}}
Comma {{,}}
Pair Producer {{:
}}
Variable Definition {{$
:=
}}
Conditional {{if
}} … {{elseif
}} … {{else}} … {{end}}
Loop {{loop
}} … {{end}}
Context Switch {{with
}} … {{else}} … {{end}}
Null Coalescing Operator ??
OpenAPI Integration
Routing
Validation
Security Check
Mocking
CORS
Upstream APIs
Differences
Testing
Variables
Cookbook
Protecting Access using JWT Tokens
Performing Additional Checks on JWT Access Tokens
Proxying Requests to Upstream APIs (cookbook/Swagger)
Testing Templates
Testing API Requests
Testing with Backend Requests
File Serving
Error Handling
Extracting Common Initialization Flow Tasks
Using Environment Variables
Logging Custom Fields
Forwarding a Request to an Upstream API (cookbook/Flow)
How can I pass an arbitrary header field to an upstream system?
How can I pass response headers to the client?
How can I increase the request timeout to deal with a slow upstream system?
Sending POST requests
Signing JWT
How can I inspect the client request?
Auto Docs with Swagger UI
Using the Built-in Mocking
Tutorial
Tools
Getting Started
OpenAPI
In the Flow
Working with Files
Request Validation
Working with Templates
Upstream Requests
Mock, mock!
Response Validation
Request Configuration
Upstream Validation
Improving the Configuration
When Things Go South
Configuration Files
Changelog
Protecting Access using JWT Tokens
Performing Additional Checks on JWT Access Tokens
Proxying Requests to Upstream APIs (Swagger)
Testing Templates
Testing API Requests
Testing with Backend Requests
File Serving
Error Handling
Extracting Common Initialization Flow Tasks
Using Environment Variables
Logging Custom Fields
Forwarding a Request to an Upstream API (Flow)
How can I pass an arbitrary header field to an upstream system?
How can I pass response headers to the client?
How can I increase the request timeout to deal with a slow upstream system?
Sending POST requests
Signing JWT
How can I inspect the client request?
Auto Docs with Swagger UI
Using the Built-in Mocking