diff options
author | friendica <info@friendica.com> | 2014-12-20 15:42:44 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-12-20 15:42:44 -0800 |
commit | 148f0eb4aed6fdbec62f50d87e6db0c8df35fe28 (patch) | |
tree | 16cbf075a0f3be7eb100ad9c44c70ebd9d44f3f5 /doc/api_posting.bb | |
parent | ce032531dc63e2be232477bca11bac3aa3dfe314 (diff) | |
parent | 9684d682aef5a3fb869498522a6740bb4d721839 (diff) | |
download | volse-hubzilla-148f0eb4aed6fdbec62f50d87e6db0c8df35fe28.tar.gz volse-hubzilla-148f0eb4aed6fdbec62f50d87e6db0c8df35fe28.tar.bz2 volse-hubzilla-148f0eb4aed6fdbec62f50d87e6db0c8df35fe28.zip |
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'doc/api_posting.bb')
-rw-r--r-- | doc/api_posting.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api_posting.bb b/doc/api_posting.bb index eeb7127fd..fa9558268 100644 --- a/doc/api_posting.bb +++ b/doc/api_posting.bb @@ -2,7 +2,7 @@ The API allows you to post to the red# by HTTP POST request. Below you see an example using the command line tool cURL: -[code]curl -ssl -u [color=blue]$E-Mail[/color]:[color=blue]$Password[/color] -d "[color=blue]$Parameters[/color]" [url][observer.baseurl]/api/statuses/update +[code]curl -ssl -u [color=blue]$E-Mail[/color]:[color=blue]$Password[/color] -d "[color=blue]$Parameters[/color]" [url][observer=1][observer.baseurl][/observer][observer=0]example.com[/observer]/api/statuses/update [/url][/code] [table][tr][td]$E-Mail:[/td][td]The E-Mail Adress you use to login[/td][/tr] [tr][td]$Password:[/td][td]The Password you use to login[/td][/tr] @@ -18,6 +18,6 @@ The API allows you to post to the red# by HTTP POST request. Below you see an ex [/ul] -Instead of calling [observer.baseurl]/api/statuses/update which returns a json (you could also add .json on the end to clarify) output, you can use [observer.baseurl]/api/statuses/update.xml to get an xml formatted return. +Instead of calling [observer=1][observer.baseurl][/observer][observer=0]example.com[/observer]/api/statuses/update which returns a json (you could also add .json on the end to clarify) output, you can use [observer.baseurl]/api/statuses/update.xml to get an xml formatted return. -Instead of Basic HTTP Authentification you could also use oAuth.
\ No newline at end of file +Instead of Basic HTTP Authentification you could also use oAuth. |