Created
February 16, 2018 12:41
-
-
Save Vrixyz/2d7156659c5bae06acb79a1214e43bb6 to your computer and use it in GitHub Desktop.
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
{ | |
"info": { | |
"name": "perso", | |
"_postman_id": "fe126a01-46c0-7fe2-234e-91f3728a6151", | |
"description": "", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "login", | |
"request": { | |
"method": "POST", | |
"header": [], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"facebook_id\": \"112312312\",\n\t\"access_token\": \"waow\"\n}" | |
}, | |
"url": { | |
"raw": "http://localhost:3000/players/login", | |
"protocol": "http", | |
"host": [ | |
"localhost" | |
], | |
"port": "3000", | |
"path": [ | |
"players", | |
"login" | |
] | |
}, | |
"description": "" | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "send card", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"player_id\": 4,\n \"player_target_facebook_ids\": [\"1234156\"],\n \"truths\": [\"J'habite à Hoenheim\", \"Je suis un dev\"],\n \"lies\": [\"J'ai vécu 2 ans en Russie\"]\n}" | |
}, | |
"url": { | |
"raw": "http://localhost:3000/players/cards/send_card_3", | |
"protocol": "http", | |
"host": [ | |
"localhost" | |
], | |
"port": "3000", | |
"path": [ | |
"players", | |
"cards", | |
"send_card_3" | |
] | |
}, | |
"description": "" | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "answer card", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"player_id\": 3,\n \"guess_id\": 1,\n \"answer_id\": 15\n}" | |
}, | |
"url": { | |
"raw": "http://localhost:3000/players/guesses/guess", | |
"protocol": "http", | |
"host": [ | |
"localhost" | |
], | |
"port": "3000", | |
"path": [ | |
"players", | |
"guesses", | |
"guess" | |
] | |
}, | |
"description": "" | |
}, | |
"response": [] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment