Working on server with POST but not pulling API with GET