• Peter

    (@hardpeter4u)


    Hi,
    I installed this and enabled both options and set as default the REST API endpoint (wp/v2/admin-ajax)
    I did the tests and all checked out ok. However, when using UltimateMember plugin to add fields, I couldn’t and saw this error in the console:

    Failed to load resource: the server responded with a status of 400 (Bad Request)
    http://127.0.0.1/wp/wp-json/wp/v2/admin-ajax?_wpnonce=6eee969ed2

    I then just enabled the first option and set as default and get this error now:

    Failed to load resource: the server responded with a status of 400 (Bad Request)
    http://127.0.0.1/wp/ajax/

    Am I missing something?

    Both tests:

    sending request: http://127.0.0.1/wp/ajax/
    random number: 0.7038203055068737
    response correct!
    sending request: http://127.0.0.1/wp/wp-json/wp/v2/admin-ajax?_wpnonce=6eee969ed2
    random number: 0.0031453887352848042
    response correct!

    I wanted to use this as I’m trying not to use admin-ajax.php because my hosting provider blocks my usage of it and there are things I can’t do because of that so I thought that this would replace it?

    Any help or ideas would greatly be appreciated.
    Thanks!
    Pete

  • The topic ‘Failed to Load Resource: (Bad Request)’ is closed to new replies.