mailgun.js
Advanced tools
Comparing version 1.0.3 to 1.1.0
@@ -105,4 +105,7 @@ 'use strict'; | ||
postMulti(url, data, options) { | ||
postMulti(url, data) { | ||
let formData = popsicle.form(); | ||
let options = { | ||
headers: {'Content-Type': null} | ||
}; | ||
@@ -109,0 +112,0 @@ Object.keys(data).forEach(function(key) { |
{ | ||
"name": "mailgun.js", | ||
"version": "1.0.3", | ||
"version": "1.1.0", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "author": "Mailgun", |
@@ -13,2 +13,3 @@ # Mailgun.js [![Build Status](https://travis-ci.org/mailgun/mailgun-js.svg)](https://travis-ci.org/mailgun/mailgun-js) | ||
- [Methods](#methods) | ||
- [Browser Demo](#browser-demo) | ||
- [Examples](https://github.com/mailgun/mailgun-js/tree/c379f79ea2a2e0f825103751a3a102d8bdd3dd1b/example) | ||
@@ -871,2 +872,20 @@ - [Development](#development) | ||
## Browser Demo | ||
![image](https://cloud.githubusercontent.com/assets/399776/10718632/e8fe56e4-7b34-11e5-84c8-cfcfde978711.png) | ||
For this demo to work, you'll need to install and run `http-proxy` locally. Install it with: | ||
```sh | ||
npm install -g http-proxy | ||
``` | ||
Then run the following command from the mailgun-js directory: | ||
```sh | ||
http-server -p 4001 --proxy="https://api.mailgun.net" | ||
``` | ||
Demo should be up and running at http://0.0.0.0:4001/examples/ | ||
# Development | ||
@@ -930,1 +949,2 @@ | ||
- add missing services | ||
- add browser demo to heroku |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1739799
37
10904
948