See `jsfetch` it has an example in the documentation with `.then()` and 
`.catch()`. 

Reply via email to