This content has been marked as final. Show 2 replies
I got solution using HttpClient, but i can acces only "GET" method of restful services
But how to access Restfukl service using "POST" method
here is my code that i use to access rest service using "GET"
String url = "http://22.214.171.124:2000/apex/jigar/mr/employees/10";
HttpClient httpclient = new DefaultHttpClient();
HttpGet hg = new HttpGet(url);
HttpResponse response = httpclient.execute(hg);
str = inputStreamToString(response.getEntity().getContent());
Now insted of GET when i use POST to access service it returns null, what can be my URl in case of post?
The problem is solved by Http Post and pl/sql source in rest service