Skip to content

base64 of file as a JSON input #2258

Open
@glb-cblin

Description

@glb-cblin

Problem to solve

I'd like to upload the base64 of a file in one of the parameter of the body

# Upload picture
POST {{PUBLIC_URL}}/public-picture-api/my-pictures
Authorization: Bearer {{id_token}}
{
  "file": "//TODO",
  "fileType": "JPEG",
  "title": "{{title}}",
  "tags": ["{{tag}}"] 
}

At the moment, i must put the whole JSON body in a file ...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions