Thanks for your hint Aria.
But even I use JSON.parse, it throws error when parsing, maybe my json
string is not in right format?
On Mon, Feb 22, 2016 at 10:34 AM, Aria Stewart wrote:
>
> On Feb 21, 2016, at 21:47, Duy Nguyen wrote:
>
> Hi,
>
> I'm developing rest service using Express framew
Hi,
I want to my code work as below:
1. save Chest object to db
2. Then save all contents belong to this chest to db (have logic to add new
filed to content before saving)
3. Then return response with chest + new contents info
But the real code does not work as I expected, the code is:
chestApi
> On Feb 21, 2016, at 21:47, Duy Nguyen wrote:
>
> Hi,
>
> I'm developing rest service using Express framework, I used Postman to test
> this web service, but I got this headache scenario need your help.
> 1. api method: /contents (POST)
> 2. request body (on Postman) (x-www-form-urlencoded):
Hi,
I'm developing rest service using Express framework, I used Postman to test
this web service, but I got this headache scenario need your help.
1. api method: /contents (POST)
2. request body (on Postman) (x-www-form-urlencoded):
*contents[0] : {file_name: 'abc.txt'}*
* contents[1]: {file_na
Hi Ray.
You'll want to keep a reference to each web socket created (in an array or
object hash) and a property on your server or in a database to track the
number of active sessions. When a new connection is made (or closed), you
will increment / decrement the count and then send a message event t
Thanks for the reply Chris.
One of the confusions I am having is trying to impliment something written
for socket.io to use in ws.
But that said, I do have code to get the authkey, but I am confused how the
authkey can be used to access the webpage?
So for code, I have:
*functio
On Sat, Feb 20, 2016 at 7:37 PM, Haitao Li wrote:
> I have a node.js app with dependencies on 50+ modules. A worker process
> consumes about 1G memory, as shown in RES column of "top" command output.
> CPU load is light. Ever since I upgraded node.js from 0.10 to 4.2.3, I
> noticed the response ti
hi, all
Errorable is ready for integration with expressjs.
Errorable is a try to solve problems in defining, migrating, exchanging of
errors between projects or companies .
1. Errorable can be easily defined according to very simple rules.
2. Errorable can be easily expand to more than one langu