removed unneeded comma
changed service call method into POST
increased legibility of function params