Test api get request