teepluss/laravel4-api

Add header or have internal requests not need auth?

Closed this issue · 1 comments

I have an API that currently uses Restable to generate its responses. Some of the endpoitns require authentication. This authentication is done via a token given upon login. Is there a way to either add custom headers to API:: calls or even allow auth to be removed if the call is made internally?

Created a work around for this with a before filter in my routes file specifically for internal calls