From 1e812cd637e3c96a9f9544ac1d532c70ceb4f996 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E6=9D=A1?= Date: Wed, 16 Aug 2017 16:59:28 +0800 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index fded10e..acb54db 100755 --- a/README.md +++ b/README.md @@ -105,6 +105,16 @@ delete 方法,一般用于数据删除 ### options option 方法,一般用于请求时的预检 +## Defalut headers +"Content-Type": "application/x-www-form-urlencoded", + +"Access-Control-Allow-Origin": "*", + +"Access-Control-Max-Age": "86400", + +"Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE", + +"Access-Control-Allow-Headers": "token, host, x-real-ip, x-forwarded-ip, accept, content-type", ## Links