Site
Four types
Fields
Type 3 site sample
sites[] object fragment
To switch to Python just change api to ./demo.py; for a Java class use csp_Demo. Relative paths also work for ext and jar.
Python, QuickJS and Node.js need the modules installed first; confirm responses on the spider test page.
Tip
header only affects HTTP requests issued by the App. Requests a type 3 spider makes itself must set headers in code or through net options.