SharePoint 2013: Consume a custom WCF REST service hosted in SharePoint 2013.
This is a quick sample to demonstrate calling a custom SharePoint-hosted WCF REST service from a
Script Editor Web Part using simple HTML, JavaScript and JQuery. For more information, see
jbarkes.blogspot.com