请求失败,状态码为 405
const url ='example.com' const config = { headers: { 'Content-Type': 'application/json', ClientType: '2', Domain: 'MSSQL', Email: 'demo', Password: 'demo', State: 'Login', }, processData: false, }; useEffect(() => { axios .post(url, config) .then((response, status, request) => console.log(status)) .catch(error => console.log(error.message)); }, []);