Skip to content

Commit

Permalink
reset Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitdatta committed May 13, 2016
1 parent 3f8d232 commit 420b047
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ Functional HTML forms. Hosted at [https://formspree.io](https://formspree.io).

Just send your form to our URL and we'll forward it to your email. No PHP, Javascript or sign up required — perfect for static sites!
Example:

```html
<form action="https://formspree.io/[email protected]">
<input type="text" name="name">
<input type="email" name="_replyto">
<input type="submit" value="Send">
</form>
```

Setting it up is easy and free. Here's how:

You don't even have to register.
Expand Down Expand Up @@ -57,6 +59,7 @@ Add this "honeypot" field to avoid spam by fooling scrapers. If a value is provi
### Using AJAX

You can use Formspree via AJAX. This even works cross-origin. The trick is to set the Accept header to application/json. If you're using jQuery this can be done like so:

```javascript
$.ajax({
url: "https://formspree.io/[email protected]",
Expand All @@ -65,6 +68,7 @@ $.ajax({
dataType: "json"
});
```

--------

If you are experiencing issues, please take a look at the [FAQ](../../wiki/Frequently-Asked-Questions) in the wiki
Expand Down

0 comments on commit 420b047

Please sign in to comment.