• I’m getting a “Request to REST API denied” when users access this URL:

    https://mysite.com/wp-json/wp/v2/users/?who=authors&per_page=100&_locale=user

    So in Traffic Inspector Settings, in the Request whitelist, I am adding this REGEX pattern:

    {\/wp-json\/wp\/v2\/users\/\?who=authors&per_page=\d*&_locale=user$}

    And I am getting an error that says: You may not specify the query string with a question mark: {\/wp-json\/wp\/v2\/users\/\?who=authors&per_page=\d*&_locale=user$}

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author gioni

    (@gioni)

    It’s because you’ve disabled REST API on the Hardening tab.

    Thread Starter Taig Mac Carthy

    (@taigmc)

    Thank you very much, sir. You are a gentleman and a scholar.

    Thread Starter Taig Mac Carthy

    (@taigmc)

    Hi @gioni,

    I am still getting the You may not specify the query string with a question mark message, after enabling REST API on the Hardening tab as you instructed.

    Please take a look at the following screen captures:

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[ERROR] You may not specify the query string with a question mark’ is closed to new replies.