A REST test webservice to test X-Road services
You can download compiled binaries for your architecture:
Then run the script to bind to the port requested. E.g. for localhost, port 1234 please use:
$ ./rest-server --addr 127.0.0.1:1234
To bind to all IP addresses on the box on port 7777:
$ ./rest-server --addr :7777
By default it binds to :1234
You can run code directly with go like this:
$ go run main.go
This project requires Go to be installed. On OS X with Homebrew you can just run brew install go
Then to compile and run it just:
$ go build main.go
$ ./main
To build for multiple architectures we also provide a build script, build.sh