Project

General

Profile

Actions

Task #69228

closed

jQuery AJAX Backend calls result in empty params array

Added by Sam AG over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
Start date:
2015-08-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.6
Tags:
Complexity:
Sprint Focus:

Description

I followed the instructions here: https://docs.typo3.org/typo3cms/CoreApiReference/JavaScript/Ajax/Backend/Index.html. The request succeeds, but the params array is always empty. I'm using jQuery and can't figure out what could be wrong when sending data like this:

$.ajax({
type: 'POST',
url: TYPO3.settings.ajaxUrls['Class::Function'],
data: {foo: "bar"},
success: function (result) {
console.log(result);
},
error: function (error) {
}
});

With prototype it's working. Any special format required?

Actions #1

Updated by Wouter Wolters over 8 years ago

  • Status changed from New to Closed

Hi, this is certainly not a bug. More a question for our forum or Slack channel.

you can find our forum on https://forum.typo3.org
Registering on Slack can be done here https://forger.typo3.org/slack

There are enough people that can help you with your problem.

Actions

Also available in: Atom PDF