Ok, I got a little further. I am not using CURL. I am using C#.
This answer is not even in the documentation or wiki. I found it in another post. I added user=xxx&pass=xxx to the POST data and it worked.
by what means are you retrieving the api data?