Have a look at this video by Mendix. It explains how to consume and use REST services in Mendix. https://video.mendix.com/watch/LxzKESFzqsrvNcGCY5YHCg