libulfius API for rgncycle
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
dancesWithCycles cfd9dfef5a feat(http-post-update): initial commit 1 week ago
etc/systemd/system feat: adjust systemd service script 1 week ago
http-get feat(http-get): initial commit 2 weeks ago
http-get-param feat(http-get-param): initial commit 2 weeks ago
http-post feat(http-post): adjust HTTP POST request 1 week ago
http-post-update feat(http-post-update): initial commit 1 week ago
LICENSE Initial commit 2 weeks ago
readme.md chore: adjust readme 1 week ago

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