Forum Discussion

DavidS1's avatar
DavidS1
Channel Surfer
5 years ago
Solved

GetToString() occasionally returns nothing

Hello! I have been using the GetToString() function to retrieve my content, but it seems that it fails one every 10 times.  Here is the code I am using   ' request the content feed from the API xf...
  • renojim's avatar
    5 years ago

    Before you  use GetString() you should be checking the response code with rsp.GetResponseCode().  If it's not 200 reissue the async transfer.