Mislav Marohnić
c873843dc8
Polish documentation for aborting requests
2018-05-23 16:15:48 +02:00
James Smith
0e1b651f44
More tweaks based on feedback
2017-12-08 09:18:56 -08:00
Jmeas
318e95f060
First pass at documentation
2017-12-07 21:44:45 -08:00
Lyra Naeseth
54dc3f823f
Tweak the wording of "Read this first"
2017-08-02 23:32:10 -07:00
David Graham
8560066d3d
Merge pull request #492 from marceloogeda/patch-1
...
Added yarn command as option to installation
2017-05-09 15:22:42 -06:00
David Graham
fcf847601f
Merge pull request #469 from RoneyThomas/patch-1
...
Added safari to native fetch browser support.
2017-03-27 14:12:48 -06:00
Marcelo Ogeda
183736d830
Add yarn command as option to installation
2017-03-07 18:26:55 -03:00
Arve Knudsen
f4932c0945
Improve README language
...
Improve various aspects of the language in the README, some being typos.
2017-02-21 12:02:21 +01:00
Roney Thomas
d34bde6c2a
Oxford comma.
2017-01-25 12:33:21 -05:00
Roney Thomas
499a862c87
Added safari to native fetch browser support.
...
https://developer.apple.com/library/prerelease/content/releasenotes/General/WhatsNewInSafari/Articles/Safari_10_1.html
2017-01-24 22:11:39 -05:00
Vagish Vela
bcc6b6753d
Fix grammar mistake in README
2017-01-23 17:04:02 -05:00
Chris Angelico
df0f332a32
Fix misspelling of [ae]ffect
2016-11-15 17:27:17 +11:00
Mislav Marohnić
d294b6ed6e
Link to API reference from Readme
2016-11-09 17:31:07 +01:00
Mislav Marohnić
816dec08f6
Add Table of Contents and "Read this first"
...
Hopefully this will help reduce the number of invalid issues opened.
2016-11-09 15:36:04 +01:00
Mislav Marohnić
f5b083d788
Readme tweaks
2016-11-09 15:36:04 +01:00
Mislav Marohnić
11a63b5137
Rework the Installation section
...
No longer recommend es6-promise due to its size and the fact it doesn't
conform to Promises/A+. Fixes #415
2016-11-09 15:28:02 +01:00
Mislav Marohnić
51c8c58a56
More information about cookies
...
Fixes #393
2016-11-09 12:51:58 +01:00
Marcio Puga
a85584cb28
Fix grammar
...
The adjective similar is modifying behave instead of a noun or pronoun. Use an adverb to modify a verb, adjective, or other adverb.
2016-10-14 16:28:17 +01:00
Samuel Scheiderich
737ecfca21
Fixed typo in README.md
...
Microsft -> Microsoft
2016-10-03 12:17:35 -04:00
Mislav Marohnić
14b1ddedbb
It looks like Safari 10 didn't ship with native fetch
...
Fixes #401
2016-09-25 14:15:54 +02:00
David Graham
a82b0a9b84
Add Edge and note regarding native fetch support
2016-09-11 08:36:58 -06:00
Tarik Ansari
1920680441
Update Webpack section in README
2016-05-19 10:36:56 -04:00
David Graham
7f71c9bdcc
Merge pull request #287 from jamonholmgren/patch-1
...
Add ES2015+ example
2016-04-15 17:24:34 -06:00
Jamon Holmgren
b5d2f38002
Add ES2015+ example
2016-03-04 21:49:52 -08:00
Jmeas
1d19130c6f
Use uppercase methods in README
...
HTTP methods are case-sensitive. The examples in the README currently
lead developers to think that this API normalizes all of the method
names to uppercase, leading to issues like #37 and #254 .
Setting the right precedent in the README will prevent developers
from making mistake of trying to use method: 'patch' (or any
other verb that isn't normalized for backwards compatibility).
2016-01-31 14:43:58 -05:00
Mislav Marohnić
97e32630f2
Drop IE-specific status codes workarounds and require IE10+
2016-01-30 17:10:07 +11:00
David Graham
1afa3d27bb
Add include credentials example.
...
Closes #205 .
2015-09-28 10:09:28 -06:00
David Graham
a1d3a83ae8
Add webpack usage link.
2015-08-17 08:37:55 -06:00
David Graham
aa21bda843
Link to promise browser support table.
2015-07-29 14:54:25 -06:00
Brandon Keepers
b305e3acbc
Add code of conduct to contributing guidelines
2015-07-08 14:02:35 -04:00
Mislav Marohnić
8c3d747818
Mention `jQuery.ajax()` explicitly
2015-06-22 18:22:41 -05:00
Mislav Marohnić
395492988c
Add note about receiving `Set-Cookie`
2015-06-22 18:21:10 -05:00
Mislav Marohnić
d79c4ee52a
Reword "to automatically send cookies"
2015-06-22 18:15:38 -05:00
Mislav Marohnić
126f6d987f
More realistic POST endpoint
2015-06-22 18:12:25 -05:00
Mislav Marohnić
612d54ed7f
Reword information about `X-Request-URL` workaround
...
Make it a bit clearer and more to-the-point. Also make it explicit that
the example workaround code is in Ruby on Rails so there is no
confusion about it possibly getting interpreted as client-side JS code.
2015-06-16 00:17:39 +02:00
Mislav Marohnić
e692744069
Improve HTTP status caveat and code example
...
Have response handler functions be named like verbs so it's more clear
what they do. Also rename the `json` variable to `data` to be more clear
about what it holds and to distance ourselves from the `json()` function.
2015-06-16 00:05:33 +02:00
Mislav Marohnić
184b64719f
Expand caveats with notes about cookies
2015-06-15 23:48:14 +02:00
Mislav Marohnić
f84ea6d440
Docs nitpick: don't use `form` variable to hold FormData
...
In the previous example, the `form` variable was used for an actual
`<form>` DOM element. Here's it's referencing a FormData object, so use
`data` instead to make this more explicit.
2015-06-15 23:10:15 +02:00
Mislav Marohnić
acc5768ae9
Docs nitpick: don't encourage search forms over GET
...
The `/query` endpoint sound like a search endpoint, but those should be
fetched over GET, not POST. Instead, use a URL that sounds like some
resource should be created.
2015-06-15 23:08:51 +02:00
Caleb Boyd
427949b96f
remove un-needed promise allocations in example
2015-04-13 16:17:05 -05:00
David Frank
b43677db4c
node.js module link
2015-01-28 03:17:23 +08:00
Andreas Savvides
1e1cccb53b
Fix typo in npm install instructions
2015-01-16 11:35:44 +00:00
Joshua Peek
688d596327
Tested in IE9
2015-01-15 13:14:37 -08:00
Matthew Andrews
5b7e895a1a
Merge remote-tracking branch 'github/master' into auto-npm-publish
...
Conflicts:
package.json
2015-01-12 21:05:19 +00:00
Joshua Peek
2c61395ed7
Add X-Request-URL
2015-01-10 16:25:22 -08:00
Matthew Andrews
01797bceb6
Rename package to whatwg-fetch and update README.md
2015-01-09 23:24:56 +00:00
David Graham
4b9e44493c
Add missing quote.
...
Closes #40 .
2014-12-05 11:26:07 -08:00
David Graham
502798d1b5
Reject example promise with an Error.
...
Closes #35 .
2014-11-20 16:26:41 -07:00
David Graham
f36e9e40f6
Remove form encoded object body.
...
This was based on a misreading of the URLSearchParams portion of
section 5.2 of https://fetch.spec.whatwg.org/#body-mixin .
Use FormData as the request body to POST form fields instead.
2014-11-01 17:26:22 -06:00
Matthew Andrews
5a8b470d50
Backtrack on Promise library switch
2014-10-31 00:29:06 +00:00