Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] Prefix to call Annotator

Trish Whetzel whetzel at
Fri May 17 10:56:12 PDT 2013

Hi Cátia, 

The Annotator web service call is a POST call and does not return results directly from the browser as the GET web service calls do. One method to test the call outside of your code is to use the Firefox Add-on called HTTP Resource Test [1] or to use CURL from a Terminal window. Attached is a screenshot of the HTTP Resource Test Add-on populated with the Annotator web service call parameters.  The Annotator signature below "" is correct. 

Is the text to annotate "cough" the text that is causing your code to return the exception?



On May 17, 2013, at 3:13 AM, Cátia Machado wrote:

> Hello.
> I have been having problems with the Annotator service that led me to doubt if I have the correct prefix. Is it this: ?
> The problem is that my Java code is resulting in a “org.apache.http.client.HttpResponseException: Forbidden” exception, and so I tested an example in the browser. However, I keep receiving this response:
> <errorStatus>
> <accessedResource>/obs/annotator</accessedResource>
> <accessDate>2013-05-14 01:53:48.306 PDT</accessDate>
> <shortMessage>Method Not Allowed</shortMessage>
> <longMessage>
> The method specified in the request is not allowed for the resource identified by the request URI
> </longMessage>
> <errorCode>405</errorCode>
> </errorStatus>
> The last URL I tested was The parameters work, since they were tested in the webpage.
> Thank you  very much for your help.
> Cátia M. Machado
> _______________________________________________
> bioontology-support mailing list
> bioontology-support at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: annotator_example-POST.tiff
Type: image/tiff
Size: 133438 bytes
Desc: not available
URL: <>

More information about the bioontology-support mailing list