forked from prisma-archive/graphcool-templates
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request prisma-archive#3 from yusinto/file-proxy-yus
Yus pr changes for encrypted-file-proxy
- Loading branch information
Showing
3 changed files
with
35 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,7 +57,7 @@ After running this command, `wt-cli` will return the url of your webtask. Using | |
Your webtask is now deployed! You can upload a file using any tool that support `multipart/form-data`, like Postman, or the command-line tool `curl`: | ||
|
||
```sh | ||
curl -X POST "<webtask endpoint url>/__GRAPHCOOL_PROJECT_ID__" -F "[email protected];filename=small.png" | ||
curl -X POST '<webtask endpoint url>/__GRAPHCOOL_PROJECT_ID__' -F '[email protected];filename=small.png' | ||
``` | ||
|
||
This uploads the local file `small-logo.png` with the new name `small.png`. The response should look something like this: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | ||
# yarn lockfile v1 | ||
|
||
|