When using the native JavaScript XMLHttpRequest object you use callbacks for completion or error handling. Promises are a better mechanism for working with asynchronous calls today. In this blog post you learn to create your own wrapper around the XMLHttpRequest object so you can use a Promise instead of callbacks.)