reTHINK-project / specs

You'll find here the full detailed specification of reTHINK Framework
Apache License 2.0
3 stars 3 forks source link

Request.post() function of browser & nodejs runtime have different specs #24

Open Endebert opened 7 years ago

Endebert commented 7 years ago

Currently, the Request.post() function of the browser runtime and nodejs runtime work differently, which should not be the case.

I.e. in order to provide the payload, the function of the browser runtime needs an options object with a body property being the payload, while for the nodejs runtime, the options object itself is the payload.

Please find a common spec and modify the functions accordingly.

Mentioning all people that worked on the the relevant code parts: @dvilchez @vitormsilva @jboulmal

emmelmann-fokus commented 7 years ago

Since the browser runtime is widely used right now, I would suggest to adjust the nodeJS runtime.

@dvilchez @vitormsilva @jboulmal @pchainho : Can we solve this issue within the next 1 or two days? In order to progress with the integrated hotel scenario demo, we need a stable nodeJS runtime which behaves as the browser runtime.