Sign inSign up

gintsgints/jq_curl

By gintsgints

Updated almost 8 years ago

Use this docker to schedule jobs with JSON calls.

Image
0

10K+

gintsgints/jq_curl repository overview

Usage

Use this docker to schedule jobs with JSON calls. jq binary is added to parse result:

docker run --rm --name curl gintsgints/jq_curl:latest /bin/sh -c 'export TOKEN=`curl -H "Content-Type: application/json" --request POST -d "{\"username\":\"apiuser\",\"password\":\"apipassword\"}" http://10.91.57.165:3001/api/auth/local | jq -r ".token"`
curl -H "Content-Type: application/json" --request GET http://10.91.57.165:3001/api/vk"

Tag summary

Content type

Image

Digest

Size

3.3 MB

Last updated

almost 8 years ago

docker pull gintsgints/jq_curl