Posts by Gabriel Souza • 3 points
2 posts
-
-1
votes1
answer88
viewsQ: Data from a PHP POST request does not arrive as JSON
I have a problem to make a POST request directly from PHP to REST, because the data does not arrive in JSON format. {"status":"ok","result":{…
-
-1
votes1
answer34
viewsQ: You are not passing JS variable value to PHP via ajax
Javascript $('#save-update').data('eventId', info.event.id); $('#delete-update').click(function (info) { info.preventDefault(); let eventID = $('#save-update').data('eventId'); $.ajax({ type:…