Hello!

I'm using ERRest  and  to create an entry, I'm using the POST HTTP method
with JSON format.

For example, to create one entity User, I will execute the request with the
following post in the body {"name":"Fred"} as shown in the image:


[image: Inline image 1]

Is there a way to create multiple entries in one time ?
By multiples entries, i mean an array of the same object.

Let's say :
{"name":"Freddy"},
{"name":"Eric"}
{"name":"Andre"}
...
{"name":"Pascal"}

I've tried to put the entries into an array but it does not work:
[{"name":"Freddy"},{"name":"Eric"},{"name":"Andre"}]

How can I create 100 Users entities in one time ?

Thank you.

Fred
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to