0

I am in need to send multiple items over rest web service being developed over Nodejs + Restify. I can send single object e.g. User.

Suppose, my app got 10 - 100 users at once and want to upload on server via Restful web service developed in nodejs/restify. What would be good solution for this?

Faisal Basra
  • 1,624
  • 4
  • 25
  • 40
  • Can you show some code, where you are able to send single object User(as you said in question)? Even check [this](http://stackoverflow.com/questions/15830448/how-to-parse-read-multiple-parameters-with-restify-framework-for-node-js) you may get some idea – Amol M Kulkarni Apr 05 '13 at 09:49

2 Answers2

0

I managed to do that through a jQuery Ajax Request. You can see my post for the solution. Post jQuery JSON Object to NodeJs Restify

Community
  • 1
  • 1
Oxnigarth
  • 333
  • 1
  • 3
  • 8
0

You can put you array in a Json, and then send it to your web service in one url parameter using JSON.stringify(your json)

Aymen Mouelhi
  • 2,384
  • 2
  • 18
  • 16