Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
NichtStudioCode authored Jun 27, 2020
1 parent 2cd25ee commit 8fab12b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ A java wrapper for the <https://gofile.io> API

## Uploading files

#### A quick way to upload files
### A quick way to upload files
```java
GoFile4j.uploadFiles(new File("filename.txt"), new File("filename1.txt"));
```

#### Normal way to upload files
### Normal way to upload files
Create a ContentFile - a file and the corresponding content type (example: image.png would be ```ContentType.IMAGE_PNG```)
The right content type is not necessary for the upload to work. However, images for example won't have a preview on the download page if they don't have the right content type.
```java
Expand Down

0 comments on commit 8fab12b

Please sign in to comment.