Posts by Daniel Castro • 41 points
5 posts
-
1
votes1
answer574
viewsQ: Ionic 3 Http request does not add header Authorization
Hello, I have a serious problem doing an HTTP REQUEST POST when I need to add a custom Header. My Backend API, has some blocked routes and requires authentication via Token, I need to pass it in my…
-
0
votes1
answer60
viewsQ: Autoload models in Mongoose
I have an API in Nodejs where I created a file to be my datasource, in this file I autoload my models by reading the files of my app and for each matter in the sequelize. The code is this: import…
-
1
votes1
answer301
viewsQ: Treat exception when replacing string via Javascript
I created a simple Javascript function to replace any string with a link within an area in my html. Until then I pass some parameters and this function replaces in my html and inserted the links as…
-
1
votes1
answer995
viewsA: How to compare age with date of birth in Javascript?
Friend, you can check by subtracting the year of birth by the current year, if the date of birth has not yet passed, subtract 1. In this link there is an example of part of your question, the person…
-
0
votes0
answers149
viewsQ: MVC + EF application with N-Layers
I am working on an MVC project with EF 6, and I am having a very curious problem, in some Viewmodel, the object that comes from my Dbcontext does not seem to persist and I get the generic message…