If your web page is being served from a different origin than your microcontroller, the browser may block the response due to CORS policy. Ensure that your server is configured to send the appropriate CORS headers, such as: ********** Access-Control-Allow-Origin: *************