Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

NabeelHassan's avatar

Unable to acess form data which is sent through ajax patch request

$.ajax({ url: '/inventories/'+inventoryJavaScriptData.id, type: 'PATCH', data: data, contentType: false, cache: false, processData: false, success: (response)=>{ console.log(response);

            if (response.status == 'true') {


            }else{

            }
        },
        error: (errorResponse)=>{
            $.notify('error! please try again' , 'error'  );

        }
    })
0 likes
1 reply

Please or to participate in this conversation.