Commit Graph

5 Commits

Author SHA1 Message Date
Kyle Shockey
168e203040 Use hash for body in formData tests
I couldn't find any instances of body being an array when testing
formData with real specs... I think this was a mistake.
2017-08-10 18:27:03 -07:00
Derek Wickern
c5a23e584c Fix #2922: file uploads fail to render curl command
The request body is an immutable.js OrderedMap rather than a string,
so this fixes the type error:

  TypeError: request.get(...).split is not a function

Adds a special curl command argument for files, e.g.

  curl -F "param=value" -F "file=@filename.txt;type=text/plain"
2017-06-08 15:59:41 -07:00
Anna Bodnia
fde75d408e fix #2839 2017-04-04 14:34:59 +03:00
Kyle Shockey
f195d01184 Autofix ESLint problems 2017-03-22 20:40:05 -07:00
Ron
f22a628934 in with the new 2017-03-17 21:17:53 -07:00