Working on requests to api