from pip_services3_rpc.services import RestService

Additionally, we will need to import Bottle, which will be used to access our requests.

from bottle import request