Skip to content

Posting an associative array alongside with formdata doest work #2435

@anouarabdsslm

Description

@anouarabdsslm

I'm not sure if there is already a solution for this
I need to post an associative array my end point , somethign like

[
    "description" => "Blah",
    "animal" => [
        "cats"=>["donna", "dupy"],
        "dogs"=>["gum", "gunyo"],
    ],
    "humans" => ["human", "human"]
]

alognside with some formData , I have tried to use the in=body post the json representation for the array but in this case params defined as formdata wasn't included within the request payload , its only include the json format in the body box. Any idea to resolve 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