I have managed to get past this 403 error but, am now getting "400 Bad
Request". I do have authorization and date headers along with user_id
and body parameters in the post request using Apache's Httpclient as
follows...
String url = "
https://api.zeepmobile.com/
messaging/2008-07-14/send_message";
HttpClient client = new DefaultHttpClient();
// Prepare a request object
HttpPost httpget = new HttpPost(url);
httpget.addHeader("Authorization", authHeaderValue);
httpget.addHeader("Date", httpDate);
httpget.getParams().setParameter("user_id", userID);
httpget.getParams().setParameter("body", URLEncoder.encode
(body, "UTF-8"));
// Execute the request
HttpResponse response = client.execute(httpget);
Pl. advise what I am missing.
Thanks.
> > Thanks.- Hide quoted text -
>
> - Show quoted text -