Created
November 3, 2017 21:36
-
-
Save caengen/ce2667241d26b210d77a0ab7e616d0f7 to your computer and use it in GitHub Desktop.
test curl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl 'http://0dcdc0c1.ngrok.io/command' -H 'Origin: http://d2r166bnnviufa.cloudfront.net' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: en-GB,en-US;q=0.8,en;q=0.6' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36' -H 'Content-type: application/json' -H 'Accept: */*' -H 'Referer: http://d2r166bnnviufa.cloudfront.net/pages/match.html' -H 'Connection: keep-alive' --data-binary '{"matchId":"f5bf3560-75b2-487b-8893-f726f06a59db","mapWidth":20,"mapHeight":20,"wallDamage":30,"penguinDamage":50,"weaponDamage":60,"visibility":7,"weaponRange":5,"you":{"direction":"top","x":1,"y":4,"strength":300,"ammo":1000,"status":"static","weaponDamage":60,"weaponRange":5},"enemies":[{"strength":300}],"walls":[{"x":4,"y":3,"strength":200},{"x":4,"y":0,"strength":200},{"x":4,"y":5,"strength":200},{"x":4,"y":8,"strength":200},{"x":5,"y":8,"strength":200},{"x":0,"y":8,"strength":200},{"x":1,"y":8,"strength":200},{"x":2,"y":8,"strength":200},{"x":6,"y":8,"strength":200},{"x":3,"y":8,"strength":200},{"x":4,"y":6,"strength":200},{"x":5,"y":6,"strength":200},{"x":1,"y":6,"strength":200},{"x":2,"y":6,"strength":200},{"x":6,"y":6,"strength":200},{"x":7,"y":6,"strength":200},{"x":0,"y":6,"strength":200},{"x":3,"y":6,"strength":200}],"bonusTiles":[{"x":15,"y":11,"type":"strength","value":4},{"x":4,"y":10,"type":"weapon-range","value":1},{"x":13,"y":9,"type":"weapon-range","value":4},{"x":7,"y":4,"type":"weapon-range","value":4},{"x":12,"y":13,"type":"strength","value":1},{"x":14,"y":3,"type":"strength","value":3},{"x":5,"y":9,"type":"strength","value":1},{"x":4,"y":15,"type":"weapon-power","value":2},{"x":9,"y":3,"type":"weapon-range","value":2},{"x":1,"y":2,"type":"jquery","value":1}],"suddenDeath":298,"fire":[]}' --compressed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { matchId: 'f5bf3560-75b2-487b-8893-f726f06a59db', | |
| mapWidth: 20, | |
| mapHeight: 20, | |
| wallDamage: 30, | |
| penguinDamage: 50, | |
| weaponDamage: 60, | |
| visibility: 7, | |
| weaponRange: 5, | |
| you: | |
| { direction: 'top', | |
| x: 1, | |
| y: 4, | |
| strength: 300, | |
| ammo: 1000, | |
| status: 'static', | |
| weaponDamage: 60, | |
| weaponRange: 5 }, | |
| enemies: [ { strength: 300 } ], | |
| walls: | |
| [ { x: 4, y: 3, strength: 200 }, | |
| { x: 4, y: 0, strength: 200 }, | |
| { x: 4, y: 5, strength: 200 }, | |
| { x: 4, y: 8, strength: 200 }, | |
| { x: 5, y: 8, strength: 200 }, | |
| { x: 0, y: 8, strength: 200 }, | |
| { x: 1, y: 8, strength: 200 }, | |
| { x: 2, y: 8, strength: 200 }, | |
| { x: 6, y: 8, strength: 200 }, | |
| { x: 3, y: 8, strength: 200 }, | |
| { x: 4, y: 6, strength: 200 }, | |
| { x: 5, y: 6, strength: 200 }, | |
| { x: 1, y: 6, strength: 200 }, | |
| { x: 2, y: 6, strength: 200 }, | |
| { x: 6, y: 6, strength: 200 }, | |
| { x: 7, y: 6, strength: 200 }, | |
| { x: 0, y: 6, strength: 200 }, | |
| { x: 3, y: 6, strength: 200 } ], | |
| bonusTiles: | |
| [ { x: 15, y: 11, type: 'strength', value: 4 }, | |
| { x: 4, y: 10, type: 'weapon-range', value: 1 }, | |
| { x: 13, y: 9, type: 'weapon-range', value: 4 }, | |
| { x: 7, y: 4, type: 'weapon-range', value: 4 }, | |
| { x: 12, y: 13, type: 'strength', value: 1 }, | |
| { x: 14, y: 3, type: 'strength', value: 3 }, | |
| { x: 5, y: 9, type: 'strength', value: 1 }, | |
| { x: 4, y: 15, type: 'weapon-power', value: 2 }, | |
| { x: 9, y: 3, type: 'weapon-range', value: 2 }, | |
| { x: 1, y: 2, type: 'jquery', value: 1 } ], | |
| suddenDeath: 298, | |
| fire: [] } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment