If there's a convenient way to get a handle on the method you're calling (perhaps exporting/requiring the callback that path fires?) then you should do that instead of an http request.    Otherwise I don't see this being a HUGE issue, but I might be missing something.