Posts by tassionoronha • 69 points
4 posts
-
1
votes0
answers83
viewsQ: Endpoint accept object and object array
This is a question that refers more to good practices. The scenario is that I have 2 endpoints to receive a given record. In the first I receive the object and register one by request. In the second…
-
1
votes2
answers49
viewsQ: Filter elements by the highest attribute
[ {x:'Pedro', y:2}, {x:'Lucas', y:3}, {x:'Pedro', y:4} ] Which would be the best filter that repeats at the value of X, remaining the one with the highest value in Y?…
javascriptasked tassionoronha 69 -
0
votes4
answers1083
viewsA: External connection JSON Webservice
I ended up migrating to Angular.js and adopting the most structured CORS to serve my application.
-
3
votes4
answers1083
viewsQ: External connection JSON Webservice
I have a PHP webservice feeding data from a array via JSON, for reading in an HTML file. When I run the application having the $.get with a local file it works, but when I change the path to read…