jaesung2061 / anvel

Angular 2 Laravel Starter Kit
94 stars 25 forks source link

How to test API alone #24

Closed newkillerbeast2017 closed 7 years ago

newkillerbeast2017 commented 7 years ago

Hi, how can I test the API alone? Is there a way I can access the API routes in postman to test it and then build the angular part?

newkillerbeast2017 commented 7 years ago

@jaesung2061 any help?

jaesung2061 commented 7 years ago

Can you rephrase that question for me?

newkillerbeast2017 commented 7 years ago

@jaesung2061 I want to use your project as a base for mine. I dont know angular but my team mate does. For him to start, it may take a while so until then I want to complete a few routes and test them using postman. But the existing route you have, I cant access them via postman. Is there a way I can test the APIs alone without using angular or doing any work on the frontend?

jaesung2061 commented 7 years ago

Sorry for the late response. Try adding API_STRICT=false to your .env file.

newkillerbeast2017 commented 7 years ago

@jaesung2061 works now. Thanks! Just so that you know, AuthController@destroy doesn't exist.

jaesung2061 commented 7 years ago

Got it, thanks!

newkillerbeast2017 commented 7 years ago

@jaesung2061 will it updated to lumen 5.4?

jaesung2061 commented 7 years ago

Yes. I will update it this weekend if I have time.