Skip to content

Dynamic Querystring Parameters support for POST requests #592

@whoiskevinrich

Description

@whoiskevinrich

I'm attempting to use Refit against the Amazon MWS API, but have one hurdle:

The Amazon MWS API accepts Query Parameters on a POST request for some calls. Here is some AWS Documentation.

From what I can see, Refit will bind this:

[Get("/")]
Task<MyResult> GetFeedSubmissions(MyRequest parameters);

but not this:

[Post("/")]
Task<MyResult> GetFeedSubmissions(MyRequest parameters);

AWS is a bit screwy in terms of how this works, but is it possible to add dynamic query support for POST requests?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions