docker pull jitu715/env-on-restapi
docker build . --tag / docker push /:latest
eli --help (shows all the available command line arguments)
eli -server
eli --cron --interval 10 --cmd 'echo jitu'
curl --location 'http://localhost:8088/aws' \
--header 'Content-Type: application/json' \
'
sample response
{
"accessKeyId":"HHDUUIEKKED",
"secretKey":"Ng4W//WAttR33ugTroNSBQrbsdsdd7PR7QH7O",
"sessionToken":"//sddd"
}
curl --location 'http://localhost:8088/' \
--header 'Content-Type: application/json' \
--data '{
"homeBrewPrefix":"HOMEBREW_PREFIX"
}
'
curl --location 'http://localhost:8088/aws?reAuthenticate=true&interval=5&command=mkdir%newFolder'