Last updated 1 year ago
OK
const response = await fetch('//api/users/password?password=text', { method: 'POST', headers: {}, }); const data = await response.json();
{ "code": 0, "message": "text", "data": false, "success": false }
const response = await fetch('//api/users/password', { method: 'PUT', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();