The examples in this section use the scripting language Python. They will be based en the cURL examples.
We'll be working with Python3 and only with the `Python Standard
| var express = require("express"), | |
| app = express(), | |
| MBTiles = require('mbtiles'), | |
| p = require("path"); | |
| // Enable CORS and set correct mime type/content encoding | |
| var header = { | |
| "Access-Control-Allow-Origin":"*", | |
| "Access-Control-Allow-Headers":"Origin, X-Requested-With, Content-Type, Accept", | |
| "Content-Type":"application/x-protobuf", |