Upload File

You can upload file by using the /files/upload endpoint but in header the Content-Type should be multipart/form-data.

  "file": "<Binary File>"

The response is like this:

  "originalname": "Djhv7NO - Imgur.png",
  "filename": "f3a5.png",
  "location": ""

Get a file

You can get a single file by adding the fileName as a parameter: /files/{fileName}

Platzi Fake Store API - Simple and powerful API for your e-commerce prototype | Product Hunt