dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #27051
[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 893: Minor
------------------------------------------------------------
revno: 893
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Mon 2013-12-23 23:28:23 +0100
message:
Minor
modified:
src/docbkx/en/dhis2_user_man_web_api.xml
--
lp:~dhis2-documenters/dhis2/dhis2-docbook-docs
https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs
Your team DHIS 2 developers is subscribed to branch lp:~dhis2-documenters/dhis2/dhis2-docbook-docs.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs/+edit-subscription
=== modified file 'src/docbkx/en/dhis2_user_man_web_api.xml'
--- src/docbkx/en/dhis2_user_man_web_api.xml 2013-12-23 16:34:22 +0000
+++ src/docbkx/en/dhis2_user_man_web_api.xml 2013-12-23 22:28:23 +0000
@@ -3389,10 +3389,12 @@
task. Currently PNG and PDF output formats are supported. An optional query parameter
<emphasis role="italic">filename</emphasis> can be used to specify the filename of the
response attachment file. Note that the file extension should be omitted. For PNG you can send
- a <emphasis role="italic">POST</emphasis> request with the SVG content as body like
- this:</para>
+ a <emphasis role="italic">POST</emphasis> request with the SVG content as body to the
+ following URL with Content-type <emphasis role="italic">application/xml</emphasis>.</para>
<screen>api/svg.png?filename=myfile</screen>
- <para>For PDF you can send a POST request with the SVG content as body like this:</para>
+ <para>For PDF you can send a <emphasis role="italic">POST</emphasis> request with the SVG
+ content as body to the following URL with Content-type <emphasis role="italic"
+ >application/xml</emphasis>.</para>
<screen>api/svg.pdf?filename=myfile</screen>
</section>
<section>