successful connection to api using spray client