Created
February 4, 2015 16:55
-
-
Save brendanc/6b3352c3f17459290933 to your computer and use it in GitHub Desktop.
Create an email test for a single email app int the Litmus reseller api via 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
| #!/bin/bash | |
| sed 's/litmusapp/iphone5s/g' 'SingleEmailTestingApp.json' > temp-test.json;curl -i -u username:password -X POST https://previews-api.ltimus.com/api/v1/EmailTests -H "Accept: application/json" -H "Content-Type: application/json" --data @temp-test.json |
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
| { | |
| "TestingApplications": [ | |
| { | |
| "ApplicationLongName": "", | |
| "ApplicationName": "litmusapp", | |
| "AverageTimeToProcess": 0, | |
| "BusinessOrPopular": false, | |
| "Completed": null, | |
| "DesktopClient": false, | |
| "FoundInSpam": null, | |
| "FullpageImage": null, | |
| "FullpageImageContentBlocking": null, | |
| "FullpageImageNoContentBlocking": null, | |
| "FullpageImageThumb": null, | |
| "FullpageImageThumbContentBlocking": null, | |
| "FullpageImageThumbNoContentBlocking": null, | |
| "Id": 0, | |
| "PlatformLongName": "", | |
| "PlatformName": "", | |
| "RenderedHtmlUrl": null, | |
| "ResultType": 0, | |
| "SpamHeaders": null, | |
| "SpamScore": 0.0, | |
| "State": null, | |
| "Status": 0, | |
| "SupportsContentBlocking": false, | |
| "SupportsSpamScoring": null, | |
| "WindowImage": null, | |
| "WindowImageContentBlocking": null, | |
| "WindowImageNoContentBlocking": null, | |
| "WindowImageThumb": null, | |
| "WindowImageThumbContentBlocking": null, | |
| "WindowImageThumbNoContentBlocking": null | |
| } | |
| ] | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment