Skip to content

HttpPost requests seem to be appending the data to the url as well as payload #237

@gregsochanik

Description

@gregsochanik

Noticed this trying to upgrade Sonos and the 7d.Wrapper.Authentication library.

Am getting
Query string parameters are not permitted when performing HTTP Post. Please use Post body or header.

and when I check the original url of the response for a HttpPost endpoint, it has the postbody params appended to the querystring, e.g:

https://api.7digital.com/1.2/oauth/requesttoken/authorise?token=B3WJYYV&username=device-integration%407digital.com&password=******

I'll look into it now as I need to ensure I have the latest version to fix that RouteParamSubstitutor bug that crops up now and again, which was fixed with 8.0.0. If I can fix I'll release as 8.0.1

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