Skip to main content

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.

0 votes
0 answers
11 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 ...
유남균's user avatar
-3 votes
1 answer
40 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 ...
Kevin Luko's user avatar
0 votes
0 answers
10 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 ...
Bevin NIno's user avatar
0 votes
1 answer
38 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 ...
Souhaiel Karbaa's user avatar
0 votes
2 answers
31 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/...
JacobDev's user avatar
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\...
user16731988's user avatar
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 ...
yasee abas's user avatar
0 votes
0 answers
12 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 ...
pratyush singh's user avatar
0 votes
0 answers
36 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\...
fatima's user avatar
  • 1
0 votes
0 answers
11 views

how to run multiple users in consecutive order under one thread group using jmeter?

i have a http post request. i have 4 users and 30 data sets of data in a csv file. now the 1st user should run the request for 6 times using the first 6 data sets from csv file. after the 1st user has ...
Rakesh's user avatar
  • 25
1 vote
1 answer
41 views

How and Should We Validate Optional Query Parameters in Spring REST Controller

I have a Spring REST API endpoint defined as follows: @GetMapping("/books") public List<Book> getBooks( @RequestParam @NotNull Long id, @RequestParam(required = false) ...
NoobCoder's user avatar
  • 605
0 votes
0 answers
10 views

error 403 forbiden After Login in codeigniter

I have an error after login page, I'm using username and password and get error 403 This is my controller public function index() { $valid=$this->form_validation; $valid->set_rules('...
receh Qoo's user avatar
0 votes
0 answers
20 views

AttributeError: module 'database.db' has no attribute 'Model'

app.py from flask import Flask, jsonify from flask_jwt_extended import JWTManager from flask_migrate import Migrate from flask_cors import CORS import secrets from api.user_controller import user_bp ...
Shukufa Bayramzada's user avatar
0 votes
1 answer
19 views

(spring boot) can't resolve symbol 'validation' jdkversion:11 springboot version:2.6.1311

[it highlights 3bugs, as you see,i am trying to add revelent dependencies into the pom.xml,but it doesn't work, how to fix it? the language level of the project structure is 11 The sdk's name is 11 ...
wer wer's user avatar
  • 11
-1 votes
1 answer
11 views

Parameter tab is disabled for Controllers

for me i'm facing some issues like Parameter tab is disabled for Logic Controllers. If i need to use interleave controller, there i have to go with multiple samplers with different parameters there i ...
Abinaya Rajamanikkam's user avatar

15 30 50 per page
1
2 3 4 5
1113