project API's

project API's

I am having trouble getting just about all the project api calls to work properly.  They all are returning various errors for me. 

I know I have valid apiKeys and Tickets because I can get the "user login-id" ID to return the correct information. 

Here's me echo'ing the example code(php):
  1. echo"<form method='post' action='https://projects.zoho.com/api/private/json/dashbs/getportals?apikey=$apiKey&ticket=".ticket()."'>
  2. <input type='submit' value='Get Portals' ></form>";
and here's the server response:
  1. {"response": {"uri":"/jsp/error.jsp","error": {"code":6501,"message":"Input Parameter Doesnt Match the Pattern Specified"}}}
As I said, I know I'm using valid key/tickets b/c I'm not getting an apiKey or Ticket error.

Is there anyone working with the project API's that would be willing to post some better example code?