Hi, 

I am trying to develop a plugin to do POST request.

I know that I should extends from the Protocol class and use the Post Method
from HTTP client (https://hc.apache.org/httpclient-3.x/methods/post.html).
And I can put metadata with the URL like this: www.example.com/postquery        
 
method=post     param=param1:value1, param2:value2. 

My problem is, I can’t access the metadata (they are correctly injected I
have checked it in the Injector and I can see them when I dump the
database). When I do (in my HttpResponse class) 
datum.getMetaData().get("method") the result is null.

Could someone give me a hint of what to do?

Thanks,
Zabini




--
View this message in context: 
http://lucene.472066.n3.nabble.com/HTTP-Post-request-tp4121719.html
Sent from the Nutch - User mailing list archive at Nabble.com.

Reply via email to