Non-Dapr endpoints invocation supported?
- Dominant language
- C#
- Stars
- 1.2k
- Forks
- 378
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 6
Description
## Ask your question here
Dear All,
In the Dapr documentation i noticed that a service can invoke a Non-Dapr endpoints like https://reqres.in/api/users?page=2 (external APIs).
But when i checked the Dotnet Dapr documentation; i could not find any code related to that.
I tried below code and it does not work..
```
var client = DaprClient.CreateInvokeHttpClient("https://reqres.in");
var response = client.GetAsync(client.BaseAddress + "api/users?page=1").Result;
var result = response.Content.ReadAsStringAsync().Result;
```
Please let me know if the support is planned or where can i find a documentation?
Contributor guide
Research direction
Start with DaprClient.CreateInvokeHttpClient and compare the .NET SDK documentation with the Dapr documentation for invoking external APIs. Confirm whether the shown request is supported, then document the supported usage or clarify the limitation and expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100