Create rest-comms.js

GET endpoints from REST api