Skip to content

Instantly share code, notes, and snippets.

@riosc
Created April 26, 2015 00:00
Show Gist options
  • Save riosc/bbd3e98b4dd8998a5a13 to your computer and use it in GitHub Desktop.
Save riosc/bbd3e98b4dd8998a5a13 to your computer and use it in GitHub Desktop.
curl -X PUT http://uprds.cl/api/visits/8185269309 -H 'Content-type: application/json' -H 'Authorization: Token token="_QzH4cGiyA39Jg-QVETT"' -d '{"visit":{"audit_items_attributes":[{"answer":"false", "id":"392295", "remote_image_url":"https://up-tmp.s3.amazonaws.com/392295visita_20150425_184618.jpeg"}, {"answer":"true", "id":"392306", "remote_image_url":"https://up-tmp.s3.amazonaws.com/392306visita_20150425_184630.jpeg"}, {"answer":"false", "id":"392317", "remote_image_url":"https://up-tmp.s3.amazonaws.com/392317visita_20150425_184642.jpeg"}, {"answer":"true", "id":"392328", "remote_image_url":"https://up-tmp.s3.amazonaws.com/392328visita_20150425_184653.jpeg"}, {"answer":"false", "id":"392339", "remote_image_url":"https://up-tmp.s3.amazonaws.com/392339visita_20150425_184704.jpeg"}, {"answer":"true", "id":"392350", "remote_image_url":"https://up-tmp.s3.amazonaws.com/392350visita_20150425_184715.jpeg"}, {"answer":"false", "id":"392361", "remote_image_url":"https://up-tmp.s3.amazonaws.com/392361visita_20150425_184727.jpeg"}, {"answer":"true", "id":"392372", "remote_image_url":"https://up-tmp.s3.amazonaws.com/392372visita_20150425_184745.jpeg"}, {"answer":"false", "id":"392383", "remote_image_url":"https://up-tmp.s3.amazonaws.com/392383visita_20150425_184756.jpeg"}, {"answer":"true", "id":"392394", "remote_image_url":"https://up-tmp.s3.amazonaws.com/392394visita_20150425_184820.jpeg"}]}, "id":"8185269309"}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment