Skip to content

IRemoteStreamContent causes other DTO fields to be sent as query parameters instead of request body #24079

@tson1407

Description

@tson1407

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

When I use IRemoteStreamContent in my DTO, all other fields are automatically sent as query parameters instead of being part of the request body.
I want to include them in the request body instead, but it seems ABP’s auto-generated proxy (or serialization behavior) forces them into the query string.

``
public class UploadFileDto
{
public string FileName { get; set; }
public string Description { get; set; }

public IRemoteStreamContent File { get; set; }

}
``

Describe the solution you'd like

All DTO fields (including metadata) should be in the form body — not split between query and body.

Additional context

ABP Framework version: 9.3.5

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions