一 Node+Express
res.header('Access-Control-Allow-Headers','Origin, X-Requested-With, Content-Type, Accept, Range'); res.header('Access-Control-Allow-Origin','*'); res.send({ 'data':{ 'name':'Leonardo Da Vinci' } });