[Jorge/Jered] Remove dead code. Move url '/api/' prefix to the utility function