Welcome Guest, Not a member yet? Register   Sign In
Problem W/ Phil's API on Live Server
#1

[eluser]sulli[/eluser]
Hello,

I've been trying to implement Phil's API in my web app. It works perfectly when I execute it on my local development server, but for some reason the api is not working properly on my production server.

When trying to execute the API in my web browser via http://mysite.com/api/example/user/id/1/format/json

I get the following:

&lt;xml&gt;&lt;status>0</status><error>Unknown method.</error>&lt;/xml&gt;

From my understanding this means that REST_Controller.php is not recognizing the GET request from the browser and prevents it from parsing the uri string information.

Is there a server setting that I should look at to allow the GET request to be recognized by REST_Controller.php?

Any suggestions?

This is really throwing me, because it works fine on my local development server.

Thanks for any suggestions or help.

Ryan


Messages In This Thread
Problem W/ Phil's API on Live Server - by El Forum - 06-27-2012, 05:02 PM
Problem W/ Phil's API on Live Server - by El Forum - 06-27-2012, 05:17 PM
Problem W/ Phil's API on Live Server - by El Forum - 06-27-2012, 07:12 PM
Problem W/ Phil's API on Live Server - by El Forum - 06-27-2012, 07:15 PM
Problem W/ Phil's API on Live Server - by El Forum - 06-27-2012, 09:08 PM
Problem W/ Phil's API on Live Server - by El Forum - 06-28-2012, 06:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB