Skip to content

How to intercept and edit in a http request the body using ktor-client (KMM) #5038

@ArturoRen

Description

@ArturoRen

My task is to add to every http post request, which is being send via the ktor client, specific parameters to the body. When I was using retrofit, I did this easily by using Interceptors. Due to switch to KMM, we need to convert those interceptors to kTor.

I tried it but it failed until now and currently I'm a little bit helpless how to fix this issue.

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