Arthur Cinader
ca286b7108
Enable prefer-const lint rule ( #3202 )
2016-12-07 18:17:05 -05:00
Florent Vilmart
3e413683f7
Makes HTTPResponse serializable ( #2143 )
...
* Use the callback body instead of response.body that may not be set
* Adds test to handle undefined responses
* Adds toJSON method to properly serialize HTTPResponse
* Use ES5 defineProperty to make keys enumerable
* removes body key from serialization
* Indent nits
2016-06-25 10:56:02 -07:00
Florent Vilmart
5c1fe3a325
Better logging with winston
2016-03-28 20:16:58 -04:00
Florent Vilmart
bd7d951ad6
default encoding is now querystring instead of JSON
2016-03-08 08:12:30 -05:00
Florent Vilmart
6acb5cee80
ES6-ify
2016-03-08 08:04:34 -05:00
Florent Vilmart
982fc72327
Adds HTTPResponse object and lazy loading text and JSON
2016-03-08 07:56:17 -05:00
Florent Vilmart
f40efe3923
Sets encoding to null to preserve raw buffers
2016-03-08 07:55:44 -05:00
Florent Vilmart
8300dd8a47
Encodes the body by default to application/json if is object
2016-03-08 07:54:23 -05:00
Carmen
440099267d
#911 support params option in Parse.Cloud.httpRequest
2016-03-08 20:23:55 +08:00
Florent Vilmart
8eff44410f
Graceful fails on httpRequest
2016-03-02 18:31:39 -05:00
Florent Vilmart
9ac7a52e40
Adds Hooks API
...
Adds Parse.Hooks.js in src/cloud-code/Parse.Hooks.js
Moves Cloud code related functions in src/cloud-code
2016-02-25 08:10:07 -05:00