create get and post requests