1

I am looking to call an external API using ServiceStack and handle the JSON response. Can someone assist please as I am new to ServiceStack?

PSingh
  • 21
  • 1
  • 2

1 Answers1

1

ServiceStack's C# Service Clients are only meant for consuming ServiceStack Services which you can use with your Services C# DTOs to enable an end-to-end Typed API as seen in the stand-alone example on ServiceStack's Github home page.

If you want to consume a non-ServiceStack 3rd Party API it's recommended to instead use ServiceStack's HTTP Utils as mentioned in this earlier answer.

Community
  • 1
  • 1
mythz
  • 141,670
  • 29
  • 246
  • 390