dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #31494
[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 1132: Minor
------------------------------------------------------------
revno: 1132
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Wed 2014-07-09 14:58:17 +0200
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 2014-07-09 09:08:34 +0000
+++ src/docbkx/en/dhis2_user_man_web_api.xml 2014-07-09 12:58:17 +0000
@@ -5050,13 +5050,13 @@
<para>To insert Javascript from a file called <emphasis role="italic">script.js</emphasis> you
can interact with the <emphasis role="italic">files/script</emphasis> resource with a
POST-request:</para>
- <screen>curl -d @script.js "localhost/api/files/script" -H "Content-Type:application/javascript" -u system:System123 -v</screen>
+ <screen>curl -d @script.js "localhost/api/files/script" -H "Content-Type:application/javascript" -u admin:district -v</screen>
<para>You can fetch the Javascript content with a GET-request:</para>
<screen>localhost/api/files/script</screen>
<para>To insert CSS from a file called <emphasis role="italic">style.css</emphasis> you can
interact with the <emphasis role="italic">files/style</emphasis> resource with a
POST-request:</para>
- <screen>curl -d @style.css "localhost/api/files/style" -H "Content-Type:text/css" -u system:System123 -v</screen>
+ <screen>curl -d @style.css "localhost/api/files/style" -H "Content-Type:text/css" -u admin:district -v</screen>
<para>You can fetch the CSS content with a GET-request:</para>
<screen>localhost/api/files/style</screen>
</section>