//get请求 获取全部 fetch("https://web2023.fmode.cn/parse/classes/WyContact?", { "headers": { "accept": "*/*", "accept-language": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6,zh-TW;q=0.5", "if-none-match": "W/\"f9-PTTxnfLa7XLaADJ/4V+GIZ9nEgc\"", "x-parse-application-id": "dev" }, "referrer": "http://127.0.0.1:4040/", "referrerPolicy": "strict-origin-when-cross-origin", "body": null, "method": "GET", "mode": "cors", "credentials": "omit" }); //post 创建 fetch("https://web2023.fmode.cn/parse/classes/WyContact", { "headers": { "accept": "*/*", "accept-language": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6,zh-TW;q=0.5", "content-type": "text/plain;charset=UTF-8", "x-parse-application-id": "dev" }, "referrer": "http://127.0.0.1:4040/", "referrerPolicy": "strict-origin-when-cross-origin", "body": "{\"name\":\"Rose\"}", "method": "POST", "mode": "cors", "credentials": "omit" }); //put 修改 fetch("https://web2023.fmode.cn/parse/classes/WyContact/68q4JeSDGh", { "headers": { "accept": "*/*", "accept-language": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6,zh-TW;q=0.5", "content-type": "text/plain;charset=UTF-8", "x-parse-application-id": "dev" }, "referrer": "http://127.0.0.1:4040/", "referrerPolicy": "strict-origin-when-cross-origin", "body": "{\"name\":\"July\"}", "method": "PUT", "mode": "cors", "credentials": "omit" }); //delete fetch("https://web2023.fmode.cn/parse/classes/WyContact/68q4JeSDGh", { "headers": { "accept": "*/*", "accept-language": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6,zh-TW;q=0.5", "x-parse-application-id": "dev" }, "referrer": "http://127.0.0.1:4040/", "referrerPolicy": "strict-origin-when-cross-origin", "body": null, "method": "DELETE", "mode": "cors", "credentials": "omit" });