-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfile_upload.http
More file actions
32 lines (24 loc) · 989 Bytes
/
file_upload.http
File metadata and controls
32 lines (24 loc) · 989 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
### Upload Hello
POST http://localhost:3000/file/faas-modules/hello_faas.wasm
Content-Type: multipart/form-data; boundary=WebAppBoundary
--WebAppBoundary
Content-Disposition: form-data; name="file"; filename="hello_faas.wasm"
Content-Type: application/wasm
< ../target/wasm32-wasip1/release/hello_faas.wasm
--WebAppBoundary--
### Upload Fibonacci
POST http://localhost:3000/file/faas-modules/fibonacci_faas.wasm
Content-Type: multipart/form-data; boundary=WebAppBoundary
--WebAppBoundary
Content-Disposition: form-data; name="file"; filename="fibonacci_faas.wasm"
Content-Type: application/wasm
< ../target/wasm32-wasip1/release/fibonacci_faas.wasm
--WebAppBoundary--
### Upload s3
POST http://localhost:3000/file/faas-modules/s3_faas.wasm
Content-Type: multipart/form-data; boundary=WebAppBoundary
--WebAppBoundary
Content-Disposition: form-data; name="file"; filename="s3_faas.wasm"
Content-Type: application/wasm
< ../target/wasm32-wasip1/release/s3_faas.wasm
--WebAppBoundary--