act like a real API proxy