I am getting the following error when try to test API in laravel using Codeception. I am accessing an external URL for API.
[ExternalUrlException] Codeception\Module\Laravel5 can't open external URL:
How I can fix this issue.
instead of putting http://xxx:8000/api/v1, use api/v1 for the url value instead.
Example:
actor: WapiTester
modules:
enabled:
- REST:
url: api/v1
depends: Laravel5
- \Helper\Wapi
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With