Help for integrating the Laravel package
Forum rules: Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#6153 by CWirth
25 May 2018, 11:31
Dear Aimeos-team,

I am using the Aimeos-Laravel package(2017.10 with Laravel 5.5) on Ubuntu 18.04 with PHP 7.2.5.
I started using Aimeos recently.
I am trying to access Aimeos through the JSON REST API but I have problems understanding how the authentication works.
An example:
A used the command "curl -X OPTIONS" to receive the service description as described in the documentation, but I only got a page not found response.
My guess is that I must send a token or anything similar with my request, but I can not figure out how to do this.

Thanks in advance
#6163 by CWirth
26 May 2018, 15:11
Thank you for your answer.
I managed to configure Laravel Passport and generated an access token.
I also configured an Base-URL, but if I sent an OPTIONS request the response only contains an empty body.
Do you have an idea what I did wrong?

Thanks in advance