Creating an http-endpoint

@russian-dima You have the code on a .jsw file

HTTP functions can only be written in the http-functions.js file. Create a .js file and name it ’ http-functions