Fix name of RESTful functions.

This is just fixing a typo in the code