libulfius API for rgncycle
Go to file
dancingCycle cfd9dfef5a feat(http-post-update): initial commit 2023-03-24 15:54:17 +01:00
etc/systemd/system feat: adjust systemd service script 2023-03-24 14:31:21 +01:00
http-get feat(http-get): initial commit 2023-03-15 20:53:49 +01:00
http-get-param feat(http-get-param): initial commit 2023-03-17 14:53:31 +01:00
http-post feat(http-post): adjust HTTP POST request 2023-03-24 14:50:27 +01:00
http-post-update feat(http-post-update): initial commit 2023-03-24 15:54:17 +01:00
LICENSE Initial commit 2023-03-15 17:35:29 +01:00
readme.md chore: adjust readme 2023-03-24 15:52:46 +01:00

readme.md

rgncycle-libulfius

libulfius API for rgncycle

preparation

sudo apt install make --no-install-recommends
sudo apt install build-essential --no-install-recommends
sudo apt install libulfius-dev --no-install-recommends
sudo apt install libconfig-dev --no-install-recommends

test API

  • create
curl --data "name=Hi from curl!" http://<host>:<port>/entities/create
curl -X POST --data "name=Hi from curl!" http://<host>:<port>/entities/create
  • read all
curl http://<host>:<port>/entities/info
  • read single
curl http://<host>:<port>/entities/35/info
  • update
curl --data "name=Hi from curl!" http://<host>:<port>/entities/1/update
  • delete
curl --request "DELETE" http://localhost:<port>/entities/1/delete