Skip to content

Support for application/x-www-form-urlencoded ? #78

@paulmillar

Description

@paulmillar

It looks like http currently lacks support for sending POST requests with application/x-www-form-urlencoded.

There is support for sending a body with multiple distinct items: Http.multipartBody. However, this seems to be limited to sending multipart/form-data requests.

There are some scenarios where the server expects the client to send POST requests with multiple parts that are combined according to the application/x-www-form-urlencoded media type, and won't accept POST requests encoded according to the multipart/form-data media type.

For comparison, elm-http-builder supports withUrlEncodedBody which seems to add support for application/x-www-form-urlencoded via withUrlEncodedBody.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions