Questions tagged [controller]
A controller is responsible for executing a sequence of instructions in response to some stimulus (maybe a command, action, or event). This is often used in conjunction with the Spring or model-view-controller tags.
controller
16,694
questions
0
votes
0
answers
5
views
Create a project on arduino using wiznet w6100 EVB PICO
I'm tryng to use a wiznet w6100 evb pico board to use it as a microcontroller but seems like something with the library is wrong.
It should simply connect to the network with a given ip address, then ...
0
votes
0
answers
12
views
A android shell script for converting Bluetooth gamepad input to mouse click
Is there any gamepad mapping app which converts gamepad input to mouse click events, not touch events! If not, can someone help me writing a script in shell which I can execute through adb, so that I ...
-1
votes
0
answers
9
views
Can we assign the ssm param values to allowable values in Swagger
In my Swagger, I need to give the allowable values attribute a value that is actually present in SSM. The problem is that I have to update the value in code everytime I update it in SSM. Its really ...
0
votes
0
answers
11
views
CodeIgniter 3: Fatal Error. Uncaught error: Class 'CI_Controller' not found
So this is a kinda old project running CI3 and we're facing this issue. It's very sporadic, it seems like it happens when requesting Ajax routes and the temporary fix testers have found is to "...
0
votes
1
answer
54
views
Undefined variable when returning view from controller in Laravel
I have a Laravel controller method designed to truncate strings from a Profile model and pass them to a view. However, I'm encountering an "Undefined variable $cutJobTitle" error when trying ...
-1
votes
0
answers
40
views
Why doesn't .rumble() make my controller vibrate as specified?
My Python script that activates vibration of a PlayStation 4 controller in a for loop should terminate if the controller is disconnected. However, it does not vibrate as specified when I pass the ...
0
votes
0
answers
14
views
Ideal use of controller and service layer
I have a question between the controller and the service, so I leave a question.
Below is an example.
There is an API that creates a company.
The process of creating a company is
Check if the company ...
-3
votes
1
answer
46
views
Managing Error Messages and Codes in Large Spring Boot Applications
How do large-scale applications systematically set up error messages with corresponding codes for all their APIs using Spring Boot and Java, especially when they have over 100 different error messages ...
0
votes
0
answers
13
views
I need a help on communicating to tatsuno gas dispenser. I want to build a fourecourt controller (Tatsuno)
Here is my question.
What port and protocol tatsuno gas dispenser or any other gas dispenser uses ?
Is it possible to make a DIY controller?
I just want to get the status and the volume being ...
0
votes
1
answer
43
views
Laravel Controller Not handling FormData from React Frontend
I am working on a ReactJS frontend and a Laravel backend. My ReactJS frontend sends FormData to a Laravel controller for updating an event. The FormData is correctly populated on the frontend before ...
0
votes
2
answers
34
views
Authorize actions in command handler
I have a problem with controllers authorization in C#. I use JWT authentication with token and role-based authorization in controllers.
Let's examine this endpoint.
[HttpDelete("{userId}/post/...
0
votes
0
answers
14
views
I want to create a query that will fetch all the categories and fetch all the products for the provided category in arguments
Here is my index file with url paths:
<?php
require_once __DIR__ . '/../vendor/autoload.php';
require_once __DIR__ . '/../app/Config/bootstrap.php';
use FastRoute\RouteCollector;
use FastRoute\...
1
vote
0
answers
8
views
control not showing in folder controller
I created controller and his views working but I can't found this control in controller folder how I make he show in folder? I work on visual studio 2022enter image description here
I try created new ...
0
votes
0
answers
16
views
CAS customization - endpoints expose
I wish to upgrade Apereo CAS from 5.x to 7.x but there is a huge architecture change and the way the project is overlayed, i found documentation for everything except what i want.
I want to create ...
0
votes
0
answers
37
views
PHP Fatal error: Class 'Laravel\Http\Controllers\Controller' not found
I'm new to Laravel and I'm unsure about the cause of this error:
Class 'Laravel\Http\Controllers\Api\V1\Controllers' not found in C:\xampp\htdocs\public_html\local\app\Http\Controllers\Api\V1\...