Posts by luisneto98 • 116 points
5 posts
-
1
votes1
answer126
viewsA: Is it possible for an Laravel API to consume a Node API and that Node API to call that same Laravel API in a request?
You are basically making an infinite recursion, so if this is really necessary, try to put a base case so that at some point one does not need to call the other.
-
0
votes2
answers57
viewsA: Data validation in PHP
So dude, you’re basically adding the values right into sql, which means the data you enter there will be part of the query. Since you are not protecting yourself against this, it is possible to…
-
0
votes1
answer157
viewsA: HTML and CSS form
Hey, come on, man. The html and the css will be in the machine of who is accessing your site, IE, there in the browser, we can say that they are running in the client. However, if you want to take…
-
3
votes1
answer55
viewsA: manipulating JSON JS
So, man. When you try to access add a value to obj.teste.id an error occurs because the id parent that is obj.teste is only a variable and not a dictionary, these are initialized with {}. Dictionary…
-
3
votes1
answer29
viewsA: Search for minor in log(n)
Dude, it’s not possible without using some other structure. Because since it’s disorderly, you’ll only be sure you found the minor if you check all the values. But if you store in a structure like a…
canswered luisneto98 116