I want to upload a list of objects to my webserver through a REST API. I'm not sure if it's possible to do it with a REST call?
The object looks like this:
class Position {
private Date date;
private Double latitude;
private Double longitude;
}
Can I do it with something like this:
http://www.example.com/positions?userId=abc&position1=position1&position2=position2
?
Or should I create a JSON representation of it and upload/put that to the webserver?