Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
95 views

I’m running a Laravel backend alongside a Vue frontend on NGINX. The issue I’m facing is that my API endpoints are returning HTML instead of JSON. For example: https://isuecampusmap.site/api/ → ...
Bunz's user avatar
  • 1
0 votes
1 answer
73 views

Hello I want to create an authentication system using API with oauth2 pkce and I don't want to use the laravel UI. What suggestions do you have so that I can manually provide the authentication key? 1....
noa-developer's user avatar
0 votes
1 answer
46 views

I have built a web application where the front end is created using React and the backend with Laravel. My application setup is as follows: Frontend (React): Hosted on the main domain: https://...
Junaid's user avatar
  • 11
1 vote
0 answers
84 views

I've got the following in a App\Http\Resources\V1\BookResource.php that I would like to paginate. "reviews" => new ReviewCollection( $this->reviews() ->where("...
kkamara's user avatar
  • 41
2 votes
1 answer
636 views

I was trying to build an API with Laravel but I failed to categories data from a table. The API JSON should look like this: [ { id: 1, name: 'John Doe', birth_place: 'Birmingham', ...
Data Science's user avatar
0 votes
1 answer
443 views

I set up a new Laravel 11 project and try to install API routes by executing php artisan install:api command. This results in the below error. Laravel install api error OS: Mac OS Sonoma 14.3.1 (23D60)...
Nalinda Dulwala's user avatar
-1 votes
1 answer
48 views

In Laravel, I can't find my controller after rearranging the file and folder structure in app/http/controller. I wanted to organize my controller files due to their large number. Here's how it looks ...
Tsabit's user avatar
  • 55
1 vote
1 answer
1k views

I get a "419 (unknown status)" error when sending a post request to login user POST http://localhost/login 419 (unknown status) Network request response : "message": "CSRF ...
johnny shepherd's user avatar
0 votes
1 answer
127 views

I'm working with Laravel and this is my RegisterController Class based on API: class RegisterController extends AuthController { public function register(Request $request) { $validator ...
Peter Amo's user avatar
  • 261
0 votes
1 answer
3k views

I'm currently building an API using Laravel and need two different authentication types and would just like some input on weather I'm thinking correctly before implementing everything. The API will ...
TS1997's user avatar
  • 106
1 vote
1 answer
46 views

Here I ask for implementation laravel API and Laravel APP communicating each other. Here's how the flow supposed to be: Laravel API side, can retrieve all request from outside that had account and ...
kvb4's user avatar
  • 11
1 vote
0 answers
412 views

I am making a seat map for a flight using Amadeus APIs? In the documentation there are two ways to fetch the seat map data, https://developers.amadeus.com/self-service/category/flights/api-doc/seatmap-...
barkii's user avatar
  • 31
1 vote
1 answer
212 views

I have set up a project and written some routes in the api.php route file. I created a middleware, registered the middleware in the Kernel.php file, and then implemented the middleware in the api.php ...
Rizwan Saleem's user avatar
0 votes
1 answer
21 views

I have a project of Roles and Permission in Laravel API based with Vue.js frontend. In Add Roles page if clicking the "All" checkbox, all roles are checked but no data appears in ...
Sd Jibon's user avatar
0 votes
0 answers
201 views

So im currently working on a simple REST API in Laravel. I have a post function which sends entered data to database and uploads one file. Everything works fine on local. Image is uploading to storage/...
vvooki.'s user avatar
0 votes
0 answers
59 views

I want to upload a directory over laravel api without compressing the directory, I want to select the directory and upload it, is there any way to do it? I searched too much for it but I didn't find ...
Zakarya's user avatar
  • 21
3 votes
2 answers
2k views

I want to call a route which binds to parameter from the route which the enums have the enum type with a value of integer. However, after calling it I get error 500 with this error message Target [App\...
behroozbc's user avatar
  • 2,868
-1 votes
1 answer
85 views

Route::group(\['namespace' =\> 'API\\V1'\], function () { Route::group(['prefix' => 'auth', 'namespace' => 'Auth'], function () { Route::get('registration', [CustomerAuthController::...
Zeeshan Ali's user avatar
0 votes
1 answer
676 views

I have API using laravel 8. This API was made each Module. Laravel API running in localhost port 8000. Then i have reactjs app running in localhost port 3000. If i access api by URL or Rest Client ...
Rido's user avatar
  • 11
2 votes
2 answers
2k views

I am working on building API and so far I've familiar with the web route.I was wondering can we share the same controller for both web and API. I already have a controller file which is working for ...
Ranvir Singh's user avatar
0 votes
0 answers
908 views

I´m trying to send data to my component table when i clicked a button. My another component should fill a table with data received. i´m using composition API. To try this i´m building this code: in my ...
scorpions78's user avatar
4 votes
3 answers
4k views

As part of API development, I use Laravel 9 and use "php-open-source-saver/jwt-auth" package for authentication without tokens. The API works fine, but I get an error when I add the ...
Fidaali Vohra's user avatar
0 votes
1 answer
39 views

I created API like this Json response. { "product_category_id": 1, "branch_id": 1, "product_category_code": "00184050", "...
dinesh balan's user avatar
0 votes
0 answers
50 views

I have shown vechicle data just I want to get driver data related to vehicle but unfortuntly i am getting error undefined please help me how can i show into draggablelist thank u ? Controller public ...
Malik Zubair Mukhtar's user avatar
1 vote
1 answer
508 views

Can anyone show me how to get and post data with API in flutter? I have tried some flutter API tutorials with Laravel but when I print the value is error cors, something wrong with my flutter code or ...
Denise Aldianto's user avatar

1
2 3 4 5 6