forked from HugoPoi/9boxtv
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update curl config for simpler usage, better README.md, adress proble…
…m in HugoPoi#4
- Loading branch information
Showing
5 changed files
with
4,490 additions
and
449 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
url = "http://rpc.stb.sfr.fr/Setup/getConfig/" | ||
user-agent = "libsetup/0.6.19 [SFR; SAGEM; 13.2.20]; c2203-4bel@sfr.fr" | ||
header = "Content-Type: text/xml" | ||
header = "Accept-Charset: iso-8859-1" | ||
header = "Accept: text/xml" | ||
#header = "Authorization: Token stbId=\"XXXXXXXXXXXX\", sn=\"YYYYYYYYYYYYYYYYYYY\"" | ||
header = "Token stbId=\"XXXXXXXXXXXX\", algoId=32, keyId=96, nonce=\"fad8dc481b6a4c5cedaa74da1a6fdb33\", created=\"55c0dfdb\", sn=\"YYYYYYYYYYYYYYYYYYY\"" | ||
header = "Accept-Charset: UTF-8" | ||
header = "Accept: */*" | ||
# Replace `nonce` and `created` here | ||
header = "Authorization: Token stbId=\"XXXXXXXXXXXX\", algoId=32, keyId=96, nonce=\"____REPLACE_BY_NONCE____\", created=\"____REPLACE_BY_CREATED___\", sn=\"YYYYYYYYYYYYYYYYYYY\", cnonce=\"aaaaaaaaaaaaaaaa\", ctoken=\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\", uri=\"/Setup/getConfig/\"" | ||
data = @request_config.xml | ||
request = POST | ||
|
||
output = setupResponse.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
url = "http://rpc.stb.sfr.fr/Setup/getConfig/" | ||
user-agent = "libsetup/0.6.19 [SFR; SAGEM; 13.2.20]; c2203-4bel@sfr.fr" | ||
header = "Content-Type: text/xml" | ||
header = "Accept-Charset: iso-8859-1" | ||
header = "Accept: text/xml" | ||
header = "Authorization: Token stbId=\"XXXXXXXXXXXX\", sn=\"YYYYYYYYYYYYYYYYYYY\"" | ||
data = @request_config.xml | ||
request = POST | ||
|
Oops, something went wrong.