You can run this containner using code below:
docker run -p 80:80 --rm \
--memory 1g \
-v $(pwd):/mnt \
cravendocker/hastari-dev-test:latest
It will have URL:
And, it has some method like:It will show all request and have other url to display single message, namely:
http://localhost/{request_id}It will add new data request using body in form of JSON which has sintax below:
{
id: int,
method: string,
params:
{
message: string
}
}
It will update availabe data request using body in form of JSON which has sintax below:
{
id: int,
method: string,
params:
{
message: string
}
}
It will remove availabe data request using body in form of JSON which has sintax below:
{
id: int,
method: empty,
params:
{
message: empty
}
}
Content type
Image
Digest
sha256:36e3a3714…
Size
359.7 MB
Last updated
about 4 years ago
docker pull cravendocker/hastari-dev-test