CGI Based Transporter

A transporter can be constructed from a script run on demand by a full-feature web server like Apache.

A good start is to write a simple script like empty.cgi.

#! /usr/bin/perl print "Content-type: application/json\n\n"; print "{}\n"; close STDOUT;

Apache will pick up extra instructions from .htaccess.

Header add Access-Control-Allow-Origin "*" Header add Access-Control-Allow-Headers "content-type"

Try this by dragging a web page to this Transport plugin.

POST https://c2.com/cgi-bin/empty

Try with get: cgi