Unable to make an update on the server with an id

后端 未结 2 742
情书的邮戳
情书的邮戳 2021-01-27 09:52

I am updating a form and i want to make an update request on the serverwith an id my model is:

    var CampaignEditModel = Backbone.Model.extend({
    urlRoot:\         


        
2条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-27 10:14

    Double check that the request is a post request and not a put request. 'Failed to load resource' errors is usually related to a missing request handler.

提交回复
热议问题