You should be able to look at the http status code, 200 is ok, anything in the 400 or 500 range is an error.
If you post your code as an example suggestions can be made.
@Wilberforce started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
You should be able to look at the http status code, 200 is ok, anything in the 400 or 500 range is an error.
If you post your code as an example suggestions can be made.