Service Help – InLine
The Sharperlight service offers a wide variety of presentation methods, each with its own set of parameters.
In this post, we will introduce the following method from among the various presentation methods available.
http://abcd.com/mdService1Rest/InLine/…
InLine
To see this information with your sharperlight service help
{sharperlight service url}/Help#InLine
{sharperlight service url}/Help#InLine
|
Return the URL content which can be text or HTML as HTML content http://abcd.com/mdService1Rest/InLine/?content=Sharperlight&title=SL&wrapInHtml=1&bcolor=gray&fcolor=white&fontSize=60px
|
|
| contentBased64=[content] | Content encoded as based 64 |
| contentZip=[content] | Content zip compressed and encoded as based 64 |
| content=[content] | Content |
| wrapInHtml=[0|1] | Wrap the content in a HTML body to form a complete web page |
| encodeText=[0|1] | When passing plain text content you may want to HTML encode special charactors when they look simular to HTML &encodeText=1 |
| convertNewLine=[0|1] | When passing plain text content you may want to convert new lines into a HTML line break tag &convertNewLine=1 |
| title=[title] | Set the title when wrapping the content in a HTML body |
| fontSize=[(n)px] | Change the default font size when wrapping the content in a HTML body e.g &fontSize=20px |
| padding=[(n)px] | Change the default padding when wrapping the content in a HTML body e.g &padding=5px |
| margin=[(n)px] | Change the default margin when wrapping the content in a HTML body e.g &margin=5px |
| bcolor=[htmlColor] | Change the default background color when wrapping the content in a HTML body e.g &bcolor=yellow |
| fcolor=[htmlColor] | Change the default font color when wrapping the content in a HTML body e.g &fcolor=red |
| css=[styleSection] | Inject a style section when wrapping the content in a HTML body e.g &css=body{color:red;} |
| urlRegId=[id] | If the content to too large for an URL, you can register the content with an ID using POST and then recall the content using the ID See UrlRegisterPost e.g &urlRegId=MyID1234 |
