[RSS Feed/News] Bad Request on Ajax call

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I am searching for part of a username and copying the returned list to a select field just as example and am getting error 400 Bad Request on ajax call. Did not find any clear solution on old threads. Can someone help me to solve that?

AJAX:
Code:

Code:
function search() {
        var user = $("#user").val();
        $.ajax({
            url: "{{ link('my-page/search') }}",
            method: "POST",
            data: { username: user },
            success: function(data) {...

Read more
Read more about this Feed . . .
 
Status
Not open for further replies.
Back
Top Bottom