Added a path option for the http request