Questions tagged as 'route'

0
answers

Files giving error 404

My application is simple, I did with AngularJS, just to study, it works quietly locally but when I upload to my locaweb server, the files are returning 404, is there any configuration I need to do? AndmyapplicationIleftwellconfigured.Index.h...
asked by 04.01.2018 / 23:19
2
answers

Error in laravel when recognizing the request of the route

Even after setting the route, when performing a post, the application occurs the "404 not foud" error. However, when accessing the index, I get data from my bank. Theoretically, it was also not to access. I'll post the code for you to review...
asked by 31.10.2017 / 19:01
0
answers

routes of codeigniter 3 do not work in production

I'm having a problem with CodeIgniter 3 In my local environment is working perfectly but when I go to production the routes do not work But if I put index.php in the URL it goes to the correct route. Does anyone know what I need to adju...
asked by 02.09.2017 / 22:32
1
answer

AngularJS issues with view routing

I'm developing a web application with AngularJS 1.6, and I'm encountering an error only when I open index.html right from the page. However, when running directly from the IDE it works normally. Here is the error print: Index.htmlcode:<bodyn...
asked by 13.08.2017 / 23:40
1
answer

CSS does not load according to route in laravel

I have a blade file in which it is my base layout (which will be loaded on all pages). But I agree that I put the route, the css of this page does not load. Ex.: If my route is like this: Route::get('/novo', 'UserController@novo'); The c...
asked by 19.04.2017 / 15:12
1
answer

Error in the configuration of MapRoute

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 Equipment (System.String, System.String, Int32...
asked by 25.08.2016 / 13:37
0
answers

How to use Ajax contentType to transfer XML and JSON data between services?

Good afternoon everyone! I need to pass data in XML and JSON formats to an API I'm developing. Every time I put the contentType: "application / json / xml; charset = utf-8" into my Ajax block, I get the following error XMLHttpRequest cannot lo...
asked by 07.07.2016 / 19:06
0
answers

Creating routes (controller / id / action) in C #

I'm trying to create a very specific route on a page of my project. As usual, the routes in .NET are controller/action/id but in a specific page I would like it to be controller/id/action . What I got was: routes.MapRoute(...
asked by 07.06.2016 / 20:35
0
answers

Using ng-view and routeProvider does not render the partial html

I'm starting at AngularJS and I can not make routes with $ routeProvider working at all. I've tried several attempts to solve it on google and none of them solved my problem. Simply the partial is not loaded into the ng-view of index.html....
asked by 02.11.2015 / 22:19
2
answers

How to load a page inside a div with angular

Talk about it! I have a big question and I can not solve it. I'm developing an application for my college's TCC in Angular. I have a menu and within that menu there are options to navigate the site, but instead of changing pages, I would like th...
asked by 27.10.2018 / 08:50