Skip to content

Upload documents operation doesn't seem to be up to date #127

Description

@rbufnoir

The upload-document endpoint doesn't seem to be up to date

When following the documentation and using the uploadDocument method I get an error:
Bad Request\n \n Validation failed ""","code" => 400

If I look the shopping-feed documentation we can see that the endpoint require a multipart/form-data with two specific keys: files and body

Capture d’écran du 2024-11-06 11-35-28

Currently the body is badly formatted with for exemple the documents key being mispelled (an 's' is missing)
Furthermore the files key is never set up

In addition, the header is set to 'Content-type: application/json' by default

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