Skip to content

A public service api to help test http calls.

Notifications You must be signed in to change notification settings

y2kappa/mockapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mockapi

A public service api to help test http calls.

If you ever need a quick http endpoint with a simple response:

Run locally

$ cargo build
$ ./target/debug/server

Build on Mac for linux

$ rustup target add x86_64-unknown-linux-musl
$ brew install FiloSottile/musl-cross/musl-cross
$ cat ~/.cargo/config
[target.x86_64-unknown-linux-musl]
linker = "x86_64-linux-musl-gcc"

References:

To build on netlify

cat rust-toolchain
[toolchain]
channel = "stable"
components = ["rustfmt", "clippy"]
targets = ["x86_64-unknown-linux-musl"]

References:

About

A public service api to help test http calls.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published