Luracast / Restler-API-Explorer

Restler API Explorer is a tweaked version of Swagger UI, a dependency-free collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
http://luracast.com/products/restler/
94 stars 29 forks source link

return http code 200 ,but no response #9

Open childeYin opened 10 years ago

childeYin commented 10 years ago

when I called index.html , but http code 200,but no response. when I refresh,it will have response,but another lost,but it running good in server my os is mac osx

Arul- commented 10 years ago

Use the developer tools in your browser to open the console and see if you find any error there

It will give us some clue on whats wrong

Steve-Tredinnick commented 10 years ago

just for future reference i have had this error this evening after it working ok for a long time, on a principle of its probably me that has broken it, I tracked it down to me adding an @param docblock reference incorrectly formed

I had done...

instead of

this caused explorer to return a 200 code and then stop working.

childeYin commented 10 years ago

thank you for your reply, but my code has been used @param int $projectId. this code working ok for a long time, but this error was be found recently.

this code was running ok in test server,but Official server is not worked,if you refresh you page,you will find no response of the asked page is changed,

if a requested no response at the start ,refresh after ,a will has responsed,but b is not response,but http code is 200

在 2014-08-25 05:03:15,"Steve Tredinnick" notifications@github.com 写道:

just for future reference i have had this error this evening after it working ok for a long time, on a principle of its probably me that has broken it, I tracked it down to me adding an @param docblock reference incorrectly formed

I had done...

@param $projectId int The ID of the project to return

instead of

@param int $projectId The ID of the project to return

this caused explorer to return a 200 code and then stop working.

— Reply to this email directly or view it on GitHub.