added stub for a request function
api-url implementation + test