Changes

Jump to: navigation, search

Umlaut partial html API

563 bytes added, 16:53, 1 June 2009
m
Reverted edits by 85.131.208.3 (Talk); changed back to last version by Wickr
If you plan to include it via javascript, you will likely find it even more convenient to use the [Umlaut partial html API javascript helper], saving you even more work. The javascript helper uses the API behind the scenes.
= Accessing the API = Supplied via the resolve/partial_html_sections actions. Instead of accessing the ordinary resolver base URL, you replace "resolve?" in your query with "resolve/partial_html", eg http://antidepositumlaut.university.edu/resolve/partial_html? . You send the OpenURL context object the same as you would for an ordinary resolve action, in URL or POST XML, etc.  By default, the API returns XML. To return json instead, include:  &umlaut.response_format=json To return jsonp, wrapped in a javascript procedure call:  &umlaut.response_format=jsonp&umlaut.com no deposit bonusjsonp=desiredJavascriptFunctionName
= Response =

Navigation menu