MAP API RESTFul psgi application