Skip to content

Instantly share code, notes, and snippets.

@huetran97
Last active June 5, 2021 02:47
Show Gist options
  • Save huetran97/96f3c58950570794749f033f863fed06 to your computer and use it in GitHub Desktop.
Save huetran97/96f3c58950570794749f033f863fed06 to your computer and use it in GitHub Desktop.
HRM Upload

Upload attachment

  • URl: https://api.dev.acheckin.io/actions/api
  • Endpoint: /storage/upload
  • Method: POST
  • Headers:
    • authorization: HRM-Access-Token
    • content-type: Multipart/form-data
  • Params:
    • upload: File, required
  • Response: JSON
    • error_code: Integer
    • message: String
    • data: Object
      • id: String
      • name: String
      • url: String
      • type: String
      • size: Number
      • createdByEmployeeId: String
      • workspaceId: String
      • createdAt: Date
      • updatedAt: Date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment