@gmarziou and @rmont66
So, traditionally a POST is not a way to GET, right?
Well… Haha. I use Parse.com as a back end, they have this set up called Cloud Code where it hosts your custom api calls and can be accessed via a rest call like api.parse.com/v1/functions/myCloudCodeFunction.
It requires the method to come in as post, however. So it’s possible that he could be using an api structure like that. I don’t like it, but that’s how we gotta do it (as far as I know for at least Parse).
As for the answer, I don’t think it actually has to do with your code. Everything looks fine as far as I can see. Have you tried using a separate tool or link to get the data for the company and see if it’s returning it? It’s better to rule out your code being the issue by doing that. On Mac I use a tool called “Rested”. What platform are you using?