Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documented FormData support in .send() #1260

Merged
merged 1 commit into from
Aug 8, 2017
Merged

Documented FormData support in .send() #1260

merged 1 commit into from
Aug 8, 2017

Conversation

lorenzos
Copy link
Contributor

@lorenzos lorenzos commented Aug 8, 2017

I wanted to use superagent to send an HTML form, because of some <input type="file"> fields. Browser support section in the master branch's README hints that FormData is somehow supported, but I couldn't find any mentions of it in the documentation website. After blindly trying using .field() and .append(), I found out that it works with .send().

I wanted to use superagent to send an HTML form, because of some `<input type="file">` fields. Browser support section in the master branch's README hints that `FormData` is somehow supported, but I couldn't find any mentions of it in the documentation website. After blindly trying using `.field()` and `.append()`, I found out that it works with `.send()`.
@kornelski kornelski merged commit 8c95c4f into ladjs:gh-pages Aug 8, 2017
@kornelski
Copy link
Contributor

Thank you

kornelski pushed a commit that referenced this pull request Aug 8, 2017
I wanted to use superagent to send an HTML form, because of some `<input type="file">` fields. Browser support section in the master branch's README hints that `FormData` is somehow supported, but I couldn't find any mentions of it in the documentation website. After blindly trying using `.field()` and `.append()`, I found out that it works with `.send()`.
kornelski added a commit that referenced this pull request Aug 8, 2017
* commit '4e21f1c509c3ee09ea4031c27855ed8e9ddc0d35':
  Documented FormData support in .send() (#1260)
  Update supported node version to >= 4.0 (#1248)
  Keep nodelay always on
  support TCP_NODELAY option (#1240)
  timeout options.read property is not used.
  grammar misstype (#1234)
  Fix spelling mistake in the docs (#1232)
  Revert test 'fixes' - see PR #1227
  Support passphrase with pfx certificate
  Fix build errors
  Send payload in query string for GET and HEAD shorthand API
  Fix xml tests that broke with mime update
@lorenzos lorenzos deleted the patch-1 branch August 8, 2017 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants