Created
May 11, 2020 13:29
-
-
Save h3xxx/be7e12b496f061cbfad68ecad2828991 to your computer and use it in GitHub Desktop.
postman-visualizer.txt
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
BONUS: here's a test rule for POSTMAN that help you quickly copy/paste results (more info https://learning.postman.com/docs/postman/sending-api-requests/visualizer/): | |
var template = ` | |
<table bgcolor="#FFFFFF"> | |
<tr> | |
<td>Video</td> | |
<td> | |
{{#response.video}} | |
{{.}} | |
{{/response.video}} | |
</td> | |
</tr> | |
{{#each response.licence_server_map.drmLicenseUrlValues}} | |
<tr> | |
<td>{{drm}}</td> | |
<td>{{licenceUrl}}</td> | |
</tr> | |
{{/each}} | |
</table>`; | |
pm.visualizer.set(template, { | |
response: pm.response.json() | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment