adding call to a rest service. Not working yet. Need the server side