Getting data from a REST WebService with JSON data

Hi,

I've the requirement of getting data from a REST web service of a SAP server in the local domain. So far, we are managing the data retrieval using flat files, however with the increase of volumes of data, this method is proving ineffective.

I understand that we need to create a webservice consumer in JavaScript and write an agent on top of the same to get the data. Can someone suggest me the best way forward? That will be of great help.

Thanks in advance. Stay safe.

Satish.