Abstrcated get ajax requests