explicitly add CORS header
cors header to post request
header fun
logging the fun continues
use pat instead of martini
clean up package format