Skip to content

HTTP DELETE with BODY #11047

@yawkat

Description

@yawkat

Discussed in #11045

Originally posted by magnayn August 1, 2024
The keycloak REST API, sadly, uses "DELETE with BODY". There's no point in pointing at specs that say you shouldn't do this - people have and that's just a fact of life.

I cannot find a way of working around the fact that micronaut-http does not like that, and fails to include the body I provide. I think this is down fundamentally to HttpRequestFactory.builder, which is just statically invoked from AbstractJdkHttpClient.

(I'm using an @client).

How can I work around this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions