Skip to content

How to return a status code other than 200 via Aggregation process? #1997

Answered by raman-m
ggoyal-Axum asked this question in Q&A
Discussion options

You must be logged in to vote

Currently i looking at replacing SimpleJsonResponseAggregator with custom but would like to know if there is any better solution

I don't see your code ❗

For Ocelot package user, there is no better solution except: IDefinedAggregator and Delegating Handler
For C# developer, there is better solution

  • fork Ocelot repo into your GitHub account
  • open in Visual Studio and develop whatever you want!

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by raman-m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Aggregation Ocelot feature: Request Aggregation
2 participants
Converted from issue

This discussion was converted from issue #1006 on March 17, 2024 10:35.