3
private void LoadContents()
{
    App.DropNetClient.GetMetaDataAsync("/", (response) =>
    {
        _model.Meta = response;
    },
        (error) =>
        {
            //OH DEAR GOD WHAT HAPPENED?!
            Deployment.Current.Dispatcher.BeginInvoke(() =>
            {
                MessageBox.Show(error.Message);
            });
        });
}

I am using above code but getting null as response, here how can I get the response?

pinckerman
  • 4,115
  • 6
  • 33
  • 42
Pradeep Kesharwani
  • 1,480
  • 1
  • 12
  • 21

1 Answers1

0

Check what version of the RestSharp nuget package do you have in your project. I had issues and found they were resolved by updating RestSharp to 104.4.0.

Austin Thompson
  • 2,251
  • 1
  • 17
  • 23