adds current request path the api_calls.rb