Hi There,
How to display error from response API to html?
like picture attached.
let say i want to display the error code/message error using alert.
thank you
Hi There,
How to display error from response API to html?
like picture attached.
let say i want to display the error code/message error using alert.
thank you
Parse the JSON, extract the message, display the message in an alert.