Sign inSign up

patrickdomnick/gin-vals

By patrickdomnick

Updated about 1 year ago

Vals in a Gin Webserver

Image
0

50K+

patrickdomnick/gin-vals repository overview

Gin Vals

Vals in a Gin Webserver

Usage

Simple single value GET request
test:
  image: bitnami/bitnami-shell:latest
  services:
    - name: patrickdomnick/gin-vals:latest
      alias: ginvals
  script:
    - export secret=$(curl -X GET "http://ginvals:9090/ref+echo://foo/bar")
Simple single value POST request
test:
  image: bitnami/bitnami-shell:latest
  services:
    - name: patrickdomnick/gin-vals:latest
      alias: ginvals
  script:
    -|
     export secretJson=$(curl -H 'Content-Type: application/json' -d '{"foo": "ref+echo://foo/bar","bar": "ref+echo://bar/foo"}' -X POST "http://ginvals:9090")

Roadmap

TODO

Contribution

Gitlab

Authors and acknowledgment

License

Apache License

Tag summary

Content type

Image

Digest

sha256:2fa6d60ff

Size

32.4 MB

Last updated

about 1 year ago

docker pull patrickdomnick/gin-vals