Search Mailing List Archives
[bioontology-support] bug in provisional term update
whetzel at stanford.edu
Tue Jul 10 11:39:37 PDT 2012
Merging threads here - did the format below not generate a successful call?
Paul, while the call below (modulo using a valid API Key) did result in a successful call, the value of the permanentid field did not appear to be set.
On Jul 9, 2012, at 4:05 PM, Trish Whetzel wrote:
> The format below returns a success message:
> curl -X PUT --header "Content-Type:application/x-www-form-urlencoded" -d 'permanentid=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FTAO_0000107' 'http://rest.bioontology.org/bioportal/provisional?apikey=XXX&termid=http%3A%2F%2Fpurl.bioontology.org%2Fontology%2Fprovisional%2F8e06127d-df18-477b-88ef-fca750f370ad'
> I've seen with the POST method that the Web service call needs to include the API Key and any other required parameters as part of the call and then the optional parameter/value pairs in the "data" section in CURL or in the "Representation" section using the HTTP Resource Test Firefox Add-on.
> One item that does not seem to be working though is populating or at least returning the new value set for the provisionalPermanentId. I'll have to talk to Paul tomorrow when he is back in the office about this.
More information about the bioontology-support