java - Client Server Communication in REST: Using RestTemplate: Unable to send data to Server side -
i trying setup client-server communication in rest, spring. in client side have code: rresult = resttemplate.getforobject("http://localhost:8081/springmvcmerchant/movietheater.htm", responsetext.class, variable); the variable above hashmap. want value variable transferred server side code. server side code is: @responsebody @requestmapping(value="/movietheater", method=requestmethod.get) public responsetext getcustomerinput(map<string, double> input) { transaction transaction = new transaction(); responsetext result = new responsetext(); if(transactionservice.addtransaction(input)) result.setmessage(responsestatus.success.getstatus()); else result.setmessage(responsestatus.failed.getstatus()); return result; } in side expecting map input receive value of map variable. but, not happening. don't want send value url parameter. can please tell me how can fix this? thanks in advance! instead of http r...