now website can send a request to rest service to get the data.