javascript - Jquery ajax 'patch' doesn't seem to be sending data -
i have following javascript code...
function editshipment(){ var method = "patch"; var serializeddata = $form.serialize(); $.ajax({ type: "patch", url: routing.generate('api_1_shipment_patch_shipment', {api_key: api_key, id:$('#caddress-shipmentid').val()}, true), data: serializeddata, success: newshipmentsuccess, error: newshipmenterror }); }
when run code chrome developer tools "network" tab shows patch method data being sent correct url.
however application never receives data.
is possible network tab somehow wrong , browser isn't sending data.
i'm using latest jquery , receiving application symfony2 web app.
thanks in advance,
m
edit: worth noting have test case passing patch method within symfony codebase. thats why i'm looking @ javascript culprit.
Comments
Post a Comment