A basic Promise based ajax request helper.