replaces superagent with request in nodejs, still used for browserside