Simple http service promised wrapper for client-side JavaScript or Node.js