use this content-type dataType: returned data type, i.e. XML, JSON, etc. success: A function to be called if the request succeeds, REST service will return JSON/XML if successful. error:A function to be called if the request fails Now we will see how to invoke the WCF services with different REST methods.