summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/break.py2
-rw-r--r--examples/grid.sh1
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/break.py b/examples/break.py
index 6f0c710..91d888d 100644
--- a/examples/break.py
+++ b/examples/break.py
@@ -1,7 +1,7 @@
#!/usr/bin/python2.7
import requests, sys
import simplejson as json
-URL_BASE = "http://127.0.0.1:5000"
+URL_BASE = "http://127.0.0.1:8080"
example_params = {
"url" : "http://i.asdf.us/im/de/HolyMountain2_1322275112_seamonkey.gif",
diff --git a/examples/grid.sh b/examples/grid.sh
new file mode 100644
index 0000000..da5fe41
--- /dev/null
+++ b/examples/grid.sh
@@ -0,0 +1 @@
+curl localhost:8889/imgrid -H 'Cookie: imname=pepper' -H 'Origin: http://asdf.us' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.125 Safari/537.36' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Accept: */*' -H 'Referer: http://asdf.us/imgrid/' -H 'X-Requested-With: XMLHttpRequest' -H 'Connection: keep-alive' --data 'width=700&height=500&linethickness=1&opacity=1&linecolor=MISTYROSE4&spacing=10&vlines=false&hlines=false&shadow=false&bgimage=&bgcolor=transparent&imageinstead=&planebgcolor=transparent&skycolor=none&planebgimage=&transition=background&swing=0&tilt=0&roll=0&zoom=0&trim=false&format=&username=pepper' --compressed