added origin header
add allow content type
Merge branch 'master' into dev
added task route