Crates.io | http_proxy |
lib.rs | http_proxy |
version | 0.1.1 |
source | src |
created_at | 2020-09-24 21:51:31.378789 |
updated_at | 2020-09-26 08:14:55.929124 |
description | This application is designed to be used as a command from a WebAssembly function running inside the SSVM to perform native HTTP and HTTPS network operations. Please see documentation for more details. |
homepage | https://github.com/second-state/AI-as-a-Service/native_model_zoo/http_proxy |
repository | https://github.com/second-state/AI-as-a-Service |
max_upload_size | |
id | 292677 |
size | 30,672 |
This application is designed to be used as a command
from a WebAssembly function running inside the SSVM to perform native network operations.
Simple GET
$ echo "" | target/debug/http_proxy get http://scooterlabs.com/echo
GET with header
$ echo "" | target/debug/http_proxy get http://scooterlabs.com/echo '{"X-My-Custom-Header":"foo"}'
POST with header and body
$ echo "123456789" | target/debug/http_proxy post http://scooterlabs.com/echo '{"X-My-Custom-Header":"foo"}'