Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/dukeofharen/httplaceholder/master/scripts/Install-Windows.ps1'))
curl -o- "https://raw.githubusercontent.com/dukeofharen/httplaceholder/master/scripts/install-linux.sh" | bash
curl -o- "https://raw.githubusercontent.com/dukeofharen/httplaceholder/master/scripts/install-mac.sh" | bash
HttPlaceholder has a Docker image; it can be found here.
Run the following command to run a basic HttPlaceholder container:
docker run -p 5000:5000 dukeofharen/httplaceholder:latest
Here you can find a few Docker Compose examples how you can run HttPlaceholder using Docker.
If you would like to install HttPlaceholder in another way (e.g. just download the ZIP and extract it yourself), you can do so. Click here to view the latest release on GitHub.
.NET library
dotnet add package HttPlaceholder.Client
Read more on the NuGet page or the docs.