Skip to content

Instantly share code, notes, and snippets.

@blitline-dev
Created May 26, 2014 21:59
Show Gist options
  • Save blitline-dev/2b6281d656a13cf17c23 to your computer and use it in GitHub Desktop.
Save blitline-dev/2b6281d656a13cf17c23 to your computer and use it in GitHub Desktop.
example headers
{
"application_id": "YOUR_APP_ID",
"src": {
"url": "http://cdn.blitline.com/filters/boys.jpeg",
"headers": {
"foo": "bar"
}
},
"pre_process": [
{
"move_original": {
"s3_destination": {
"bucket": "bltemp",
"headers": {
"x-amz-meta-foo": "bar",
"x-amz-meta-taz": "rio"
},
"key": "grumpy_squirrel/funky.jpeg"
}
}
}
],
"functions": [
{
"name": "rotate",
"params": {
"amount": -90
},
"save": {
"image_identifier": "sample"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment