Jump to content

REST & OAuth

Rashed Ahmed

Recommended Posts

Hi everyone,

I am looking for someone who can help me fix my REST & OAuth error.

I have done all the steps required, but it keeps showing me this:


The API endpoint is not giving the expected response. Check you followed the instructions correctly. The URL being tested is: https://forum.grinderscape.org/api/index.php?/core/hello

In order to use the REST API:

  1. Download this file.
  2. Upload it to the /api folder in your site's directory (/home/forum/public_html/api).
  3. Rename it to '.htaccess' (with no file name).

I am certainly sure I have done all the steps right, but still shows this. If you go to the link above it throws a 401 if you check in the chrome inspect network. Could it be something with Cloudflare? but what exactly do I have to disable or do?

Please someone help, willing to pay if required.


Link to comment
Share on other sites

You should probably ask your hosting provider. The issue is that the HTTP Authorization header isn't being sent to the PHP script... if you're running nginx, or PHP in a mode that doesn't support .htaccess files, you probably need whoever manages the server to modify something in the server configuration. But if you're not sure what your server is running, it's difficult to advise what that might be.

Your hosting provider should be able to sort it.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...