You can also use the Static or Dynamic C# clients to call the HTTP APIs of other microservices. However, the Integration Services is the recommended way to communicate between microservices because it allows you to hide your endpoints from the outside world and manage your services more easily.
Hi,
I recommend you use the static csharp proxy.
https://abp.io/docs/latest/solution-templates/microservice/http-api-calls https://abp.io/docs/latest/framework/api-development/static-csharp-clients
Hi,
thanks, we will fix the problem. https://github.com/abpframework/abp/issues/20657
can you share the HTTP Request/Response body
Hi,
you may need to clear the Redis cache.
okay
This is a CORS problem, maybe you didn't configure it correctly.
builder.Services.AddCors(options =>
{
options.AddPolicy(name: "MyPolicy",
policy =>
{
policy.WithOrigins("http://example.com",
"http://www.contoso.com")
.AllowAnyHeader()
.AllowAnyMethod()
.AllowCredentials();
});
});
app.UseRouting();
app.UseCors("MyPolicy");
You just need to send HTTP requests to the server from angular.
there is no errors just error console
is there any logs about this request? if not, i guess this request is not actually sent