Jump to content

emilhem

Friends
  • Posts

    131
  • Joined

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by emilhem

  1. On 2016-01-07 at 10:11 PM, JEFF MACK said:

    So not sure what I am doing wrong.  I downloaded the file, etc but yet this doesn't seem to work...

    The API endpoint is not giving the expected response. Check you followed the instructions correctly. The URL being tested is: /api/core/hello

    You don't need the file when using NGINX.

    I'm experiencing the same problem when on my test install. On my production server it works as expected and I'm pretty much using the same config except that the test install uses a auth_basic on the whole site... (this could be the issue!)

    The following is the path that IPS is trying to access according to the NGINX logs. The post here says that it is invalid https://community.invisionpower.com/4guides/developing-plugins-and-applications/rest-api/sending-your-first-request-r167/

    /api/index.php?/core/hello

    The config I use is the one that @prupdated mentioned above, IE

    location /api/ {
      rewrite ^/api/(.*)$ /api/index.php;
    }
×
×
  • Create New...