Re: TAP's use of SOAP: HTTP GET or PUT?

> > By default the TAP toolkit uses POST because we throw around a lot of 
> > hierarchical queries which are difficult to express in a flat name=value 
> > format like HTTP GET, but the servers support GET syntax, c.f.
> > 
> > http://tap.stanford.edu/data/?type=tap:Actor&term=Tom+Hanks&prop=Identify
> > 
> > http://panic.stanford.edu/browse?type=tap:Politician&term=Tony+Blair
> 
> Thanks, that's good to know. 
> 
> Is the GET syntax documented anywhere?

Not that I know of. It's relatively simple: the names of each ?name=value
pair are properties, the value is the desired value of that property in the
request description. In the first case, the properties you want the values 
for are specified by name=value pairs where the name is "prop".

Abbreviations are allowed, or full URLs. tap:Actor is equivalent to 
http://tap.stanford.edu/data/Actor and there are default namespaces also,
such as "rdf:type" and "rdfs:label".

Received on Tuesday, 28 January 2003 17:55:11 UTC