If you want to do some API testing or mocking, HttPlaceholder is the right tool for you. In this tutorial, we will learn how to install HttPlaceholder on the latest version of Linux Mint.
Before proceeding with the installation, make sure that you have the following requirements:
If you don't have .NET Core SDK installed on your system, you can use the following steps to install it:
sudo apt-get update
sudo apt-get install -y curl libunwind8 gettext apt-transport-https
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic main" > /etc/apt/sources.list.d/dotnetdev.list'
sudo apt-get update
sudo apt-get install -y dotnet-sdk-3.1
Now that we have the .NET Core SDK installed, we can proceed with the installation of HttPlaceholder:
git clone https://github.com/dukeofharen/httplaceholder.git
cd httplaceholder
dotnet build
dotnet run
Congratulations! You have successfully installed HttPlaceholder on your Linux Mint system. Now get started with testing and mocking your APIs.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!