We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I added a custom prefix to my api's routes. But the answer is always 404.
Code:
Route::prefix('api/v1') ->middleware('api') ->namespace($this->namespace) ->group(base_path('routes/api/v1/api.php'));
File Endpoints: routes/api/v1/api.php Code:
Route::get('custom-endpoint', function () { wp_send_json( 200 ); });
Return: Sorry, the page you are looking for could not be found
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I added a custom prefix to my api's routes. But the answer is always 404.
Code:
Route::prefix('api/v1')
->middleware('api')
->namespace($this->namespace)
->group(base_path('routes/api/v1/api.php'));
File Endpoints: routes/api/v1/api.php
Code:
Route::get('custom-endpoint', function () {
wp_send_json( 200 );
});
Return: Sorry, the page you are looking for could not be found
The text was updated successfully, but these errors were encountered: