when i post ajax, error occurs. enter image description here these are my codes.
let xhr = new XMLHttpRequest() let data ={ "name": "test