1

rest POST object using spring for android

view story
linux-howto

http://stackoverflow.com – I'm trying to POST to a rest service using spring for android(I'm new at this) The restful service has this structure @POST @Path("/ider") @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) public SearchOutRO hashTrackInJSON(SearchInRO in); with(shortened object code): public class SearchInRO implements Serializable { private Double latitud; private Double longitud; } public class SearchOutRO implements Serializable { private Integer searchId; } so I'm trying this(from android) String url = BASE_URL + "ider"; HttpHeaders requestHeaders = new HttpHe (HowTos)