Getting Started
- Download the binary and unzip it.
sh
unzip membrane-service-proxy-5.0.0.zip
- Run
service-proxy.sh
orservice-proxy.bat
in a terminal.
sh
cd membrane-service-proxy-5.0.0
./service-proxy.sh
- Open http://localhost:2000 in a browser or use
curl
:
sh
curl localhost:2000
{"apis":[{"name":"Shop API Showcase","description":"API for REST exploration, test and demonstration. Please fell free to manipulate the resources using the POST, PUT and DELETE methods. This API acts as a showcase for REST API design. Please report errors and suggestions for design improvements to bayer@predic8.de.","url":"/shop/"}]}
WARNING
If you get an error message like Bad Gateway you might need to setup a proxy server.
- Look at the configuration in
conf/proxies.xml
:
xml
<api port="2000">
<target url="https://api.predic8.de"/>
</api>
All HTTP trafic is routed from localhost
to api.predic8.de
.
Where to go from here
Try one of the tutorials to learn how to use Membrane's powerful features: