Created
July 9, 2022 06:27
-
-
Save renxida/3acaa099ba310a89b022a24dda21b208 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": { | |
"_postman_id": "8236f729-b242-49b8-9b3d-9c113ae90be4", | |
"name": "Napkin", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", | |
"_exporter_id": "18027907" | |
}, | |
"item": [ | |
{ | |
"name": "sendCodeToMail", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\"email\" : \"[email protected]\"}" | |
}, | |
"url": { | |
"raw": "https://us-central1-deepthoughtworks.cloudfunctions.net/sendCodeToMail", | |
"protocol": "https", | |
"host": [ | |
"us-central1-deepthoughtworks", | |
"cloudfunctions", | |
"net" | |
], | |
"path": [ | |
"sendCodeToMail" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "confirmCredentialsAndGetUid", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\"email\": \"[email protected]\", \"code\": \"{{code}}\"}" | |
}, | |
"url": { | |
"raw": "https://us-central1-deepthoughtworks.cloudfunctions.net/confirmCredentialsAndGetUid", | |
"protocol": "https", | |
"host": [ | |
"us-central1-deepthoughtworks", | |
"cloudfunctions", | |
"net" | |
], | |
"path": [ | |
"confirmCredentialsAndGetUid" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "addTextToAccount", | |
"protocolProfileBehavior": { | |
"disabledSystemHeaders": { | |
"content-type": true, | |
"user-agent": true, | |
"accept-encoding": true, | |
"accept": true | |
} | |
}, | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"uid\" : \"{{uid}}\",\n \"code\" : \"{{code}}\",\n \"content\" : \"{{$randomLoremParagraph}} -- Postman.com\",\n \"sourceUrl\" : \"https://postman.com\",\n \"integrationType\" : \"postman\"\n}" | |
}, | |
"url": { | |
"raw": "https://us-central1-deepthoughtworks.cloudfunctions.net/addTextToAccount", | |
"protocol": "https", | |
"host": [ | |
"us-central1-deepthoughtworks", | |
"cloudfunctions", | |
"net" | |
], | |
"path": [ | |
"addTextToAccount" | |
] | |
} | |
}, | |
"response": [] | |
} | |
], | |
"event": [ | |
{ | |
"listen": "prerequest", | |
"script": { | |
"type": "text/javascript", | |
"exec": [ | |
"" | |
] | |
} | |
}, | |
{ | |
"listen": "test", | |
"script": { | |
"type": "text/javascript", | |
"exec": [ | |
"" | |
] | |
} | |
} | |
], | |
"variable": [ | |
{ | |
"key": "email", | |
"value": "[email protected]", | |
"type": "string" | |
}, | |
{ | |
"key": "uid", | |
"value": "aEf89YourUIDHere8793", | |
"type": "string" | |
}, | |
{ | |
"key": "code", | |
"value": "12345", // your code here | |
"type": "string" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment