Most voted "route" questions
93 questions
Sort by count of
-
1
votes1
answer185
viewsPage not found Error 404, [Route("Categories/list/{page=1}")] in Asp.Net MVC
Hello, I have a problem regarding the configuration of Route in Asp.Net MVC. The problem is that I created a test page where on this page I am trying to configure the route resources. I set up a…
-
1
votes1
answer337
viewsIssue with route in Laravel; my page does not access the bootstrap files that are on the layout page
I would like a little strength, I am starting with Laravel 6 and I have the following problem; I have a layout page inside the "views>layouts" folder called "admin.blade.php": On it are my…
-
0
votes1
answer107
viewsRoute Translation with Cakephp
I’m studying Cakephp for possible use in a project, and the crux of this project is that it’s multi-language. Only I’ve done a lot of research on route translation: http://projeto.com/contact…
-
0
votes1
answer93
viewsAbstractcontroller::Actionnotfound for the Destroy action
Hello, I have two applications running on Heroku with the same code, only I’m having a little problem with the producing. When trying to make a request, I have the following log:…
-
0
votes1
answer901
viewsSetting controller paths in Codeigniter directories
I have many controllers in my project, with this I divide the controllers into folders, website in the site folder, admin in the admin folder (within controllers). But I can’t access the controllers…
-
0
votes2
answers1658
viewsHow to create App routes using Ionic and Angulas.js?
EDITED I was able to create routes with an example from the site itself. But I noticed that the controllers are in the same main file app.js and the views stay in the archive index.html. I wonder if…
-
0
votes2
answers393
viewsRoutes with Angularjs and Node.js
I learned a little about Angularjs and now I’m starting with Node.js and some doubts have arisen. With Angular I use $routeProvider to create the routes and navigate between the pages as single page…
-
0
votes1
answer191
viewsHow do I Redirect on the route if it is the first time it runs?
My structure is like this: var app = angular.module('MainApp',[ 'ngRoute', 'mainAppControllers' ]); app.config(['$routeProvider', function($routeProvider){ $routeProvider. when('/tutorial', {…
-
0
votes1
answer158
viewsHow to modify a url sent via get [Codeigniter] form?
Guys I need to modify a url but don’t know how to do it. I have the following url: http://wedding.axitech.com.br/?procuraonde=Palhoça&procuraoque=bolos and need to turn to the url below:…
-
0
votes1
answer319
viewsCreate routes - Codeigniter
Well, I have this route set in my Routes file : $route['novidades-e-estrategias-de-marketing-digital-em-nosso-blog/(.*)/(.*)'] = "blog/post_list/$1"; This is the url :…
-
0
votes1
answer1369
viewsCSS does not load according to the route in the Standard
I have a Blade file in which it is my base layout (which will be loaded on all pages). But according to what I set the route, the css of this page does not load. Ex.: if my route is like this:…
-
0
votes0
answers908
viewsUsing ng-view and routeProvider does not render partial html
I’m starting at Angularjs and I can’t make the routes with $routeProvider work at all. I’ve searched several solution attempts on google and none of them solved my problem. Only partial is not…
-
0
votes1
answer1537
viewsLaravel 5.4: AJAX request using route with JS variable?
I need to use a route from Laravel within the AJAX request code. The way I built it doesn’t work, but it doesn’t work. I believe the variable call (servico) you’re wrong, because I put a number…
-
0
votes0
answers149
viewsCodeigniter 3 rollers do not work in production
I have a problem with Codeigniter 3 In my local environment is working perfectly but when I go up to production the routes do not work But if I put index.php in the URL goes to the correct route.…
-
0
votes1
answer68
viewsFramework for single page application
I’m setting up a static website and I wanted to make this site a Single Page Application. I’m aware that being a spa there are several complications with SEO. I ask you, is there any framework that…
-
0
votes1
answer1106
viewsUrl query Reach Route - React
I have the following problem: I have an API in Node.js that returns me id and name of products and supermarkets When I get into /supermarkets via params url /:idSupermercado I can get this parameter…
-
0
votes0
answers158
viewsCreating routes (controller/id/action) in c#
I’m trying to create a very specific route on a page of my project. As usual, routes on . NET are controller/action/id but on a specific page I would like it to be controller/id/action. What I got…
-
0
votes1
answer46
viewsSubroutes in Node JS
I have the following doubt. I have two GET routes, and the second route, whenever I try to access, the browser understands as if I were informing the parameter :id and creates an error.…
-
0
votes1
answer41
viewsASP NET Core Dynamic value "Route"
Can the route parameter be dynamic? for example I want that when Uf is "sp" I put sao-paulo, and so on with the other states. Because then when I load the aciton it loads the url as I reported it.…
-
0
votes0
answers908
viewsHow to use Ajax contenttype to transfer XML and JSON data between services?
Good afternoon, you guys! I need to pass data in XML and JSON formats to an API I am developing. Every time I place contenttype: "application/json/xml; charset=utf-8" in my Ajax block, I get the…
-
0
votes1
answer127
viewsOtherwise with redirectTo to another url that is not part of the Single page application
For example, on the routes below: app.config(function($routeProvider){ $routeProvider.when('/dashboard', { templateUrl: "../views/dashboard.html", controller : "dashboardCtrl" }).when('/cadastro', {…
-
0
votes1
answer17
viewsError in Maproute configuration
The following error is returned to me: The Parameters Dictionary contains a null entry for Parameter 'numerodeserie' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.Actionresult…
-
0
votes1
answer1593
viewsHow do I set the url for a route in Laravel?
I am using Laravel 5.4 and controllers in Restful standard. I configured the route file as follows: Route::resource('entryRegistry', 'EntryRegistryController'); In view: {{…
-
0
votes1
answer1056
viewsHow do we know where the route came from and redirect it back?
I have 3 tables on BD: Emitentes, Pessoas e Cidades. Where on the table Issuers and in the table People have the FK id_cidade. When I’m registering one, both a Emitente how much a Pessoa I have in…
-
0
votes2
answers633
viewsProblem with routes in the Laravel
I have slugs stored in the database of different tables, I intend to use the url always like this www.exemplo.com/slug. For this I created a single route for that which became so:…
-
0
votes1
answer55
viewsAngularjs problems with view routing
I am developing a web application with Angularjs 1.6, and I am encountering an error only when I open index.html directly from the page. However, when running directly from the IDE it works…
-
0
votes0
answers480
viewsMethodnotallowedhttpexception in Routecollection.php - Laravel 5.4
I got this Error by putting a project on the server and trying to insert a product into the database. Error Whoops, looks like Something Went Wrong. (1/1) Methodnotallowedhttpexception in…
-
0
votes2
answers764
viewsError in path when recognizing route request
Even after the route definition, when performing a post, the application occurs the error of "404 not foud". However, in this same, when accessing the index, I can obtain data from my database.…
-
0
votes0
answers46
viewsFiles giving error 404
My application is simple, I did with Angularjs, just to study, works quietly locally but when I go up to my server from Locaweb, the files keep returning 404, have some configuration that I need to…
-
0
votes0
answers130
viewsWhy do my routes only work on the localhost and not on the Web server?
I am a developer .NET (Desktop apps & mobiles) trying to get on the web PHP for being a free Lang and her FDI’s are light. I created my MVC (as a beginner I preferred not to use frameworks) and…
-
0
votes1
answer702
viewsRoute api in Laravel 5.4
Through Composer, I started a project with the command: composer create-project --prefer-dist laravel/laravel api After the installation of the dependencies, I was able to visualize the "Welcome" of…
-
0
votes0
answers44
viewsLaravel: Duplicate project in same directory
Good morning, everyone! I have a Laravel API on a server in the folder /www/var/html/api1, for second reasons I have to build another API on the same server, so I duplicated the one I had to…
-
0
votes1
answer121
viewsDetermine route according to the url that called the request
My situation is as follows, I am using a form of charging that makes the entire online subscription system, the system when performing the registration of a customer and validate the payment of the…
-
0
votes1
answer200
viewsAuthguard doesn’t work, what to do?
If my user is logged in, he can access any route of my application and if he tries to access the route ' ' (empty) will be redirected to Dashboard, if it is unattended will only be redirected to ' '…
-
0
votes1
answer78
viewsError 404 on second route using Flask
Good morning. I configured my app in Cpanel that uses passenger_wsgi.py (I don’t know if this information is relevant) Python Version 3.7.3 and Flask Version==1.1.1 The main route works well, but…
-
0
votes1
answer205
viewsReload Angular 8 in js files inserted into index.html via routerLink
I need to restart the angular, If I am on any other page, and I click on the routerLink, I go to the homepage normally, however, some elements that depend on javascript files or jquery libraries are…
-
0
votes4
answers1271
viewsError in setting Route Orange 8?
I know it might be a beginner question, but I really can’t solve it, and I put the address in the browser the route works, but when I call from blade doesn’t work. I created a new route and I am…
-
0
votes2
answers73
viewsSend custom property to Privateroute component in React
Problem: Basic information: React project with the following dependencies.: "dependencies": { "@emotion/core": "^10.0.35", "@fortawesome/fontawesome-free": "^5.14.0",…
-
0
votes1
answer26
viewsHow do I perform more than one database query on a single request . GET on the same route on NODE.JS?
I am creating an API for a personal project, and I need to make 2 queries to the database in the same GET request. My code looks like this: module.exports = { async listarAnual(req, res, next){…
-
-1
votes1
answer878
viewsCreate advanced route in Angular.js
I’m trying to get my router, work a little differently. Today he is like this, for example: $routeProvider. when('/cliente', { templateUrl: '/cliente', }). when('/login', { templateUrl:…
-
-1
votes2
answers954
viewsHow to load a page into a div with Angular
Talk to the guys!! I have a huge question and I can’t solve it. I’m developing a TCC application for my Angular College. I have a menu and within this menu there are options to browse the site, but…
-
-1
votes1
answer98
viewsParameter problems in API (Laravel) routes
Hello! I’m starting my studies on api Rest. In my application I can only return the employee data according to the id of the company that it belongs to, however, the api is returning the data…
-
-1
votes1
answer46
viewsfilter cities by state in Laravel with Javascript?
I have a city and a state camp, I would like when click on the field and select a certain state, in the city options appear only the cities related to that specific state. it is in my local…