Skip to content

When will Aggregators be implemented for the Post verb? #1741

Closed Answered by raman-m
Joseg-05 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Joseg-05 ! What's your name?
Thanks for your interest in Ocelot gateway!

From Request Aggregation docs:

Aggregation only supports the GET HTTP verb.

OK, let's start debates...
The reason why the feature is implemented for GET verb is request body data block of HTTP protocol.
It is natural thing that aggregated upstream cannot have multiple request bodies because Ocelot request router will make N additional requests to aggregated downstreams also without a body.
In theory even GET request can have a body but by specification it is not recommended.
And if we will forward GET body of upstream then how to decide which exact downstream service should receive this body?
In theory, we can …

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@RaynaldM
Comment options

@ggnaegi
Comment options

ggnaegi Oct 19, 2023
Collaborator

Answer selected by Joseg-05
Comment options

@raman-m
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Initially seen a question could become a new feature or bug or closed ;) Aggregation Ocelot feature: Request Aggregation
4 participants