Exposing API routes

Can you add the code from the http-functions.js file from the backend?