Javatpoint Logo
Javatpoint Logo


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.


Let's take an example.

See this example:

Test it Now


Save the above code in emulatehttp.html file and open this file in a new browser.

BackboneJS emulatehttp Model

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA