Backbone.emulateHTTP()Backbone.emulateHTTP is used when you want to work with a legacy web server that doesn't support Backbone's default REST/HTTP approach. If you set this option to true, it will fake PUT, PATCH and DELETE requests with a HTTP POST, setting the X-HTTP-Method-Override header with the true method. Syntax: Let's take an example. See this example: Test it NowOutput: Save the above code in emulatehttp.html file and open this file in a new browser. Next TopicBackbone EmulateJSON |