Unknown opened 3 years ago
|
|
This is my code |
|
I added these to the configuration file, but it still doesn't work... |
|
As stated at https://docs.tigase.net/tigase-http-api/stable-snapshot/Tigase_HTTP-API_Guide/html/ you need to pass |
|
After I pass "api_key" as a parameter, I report an error of "302 temporary redirection". After I write "open_access" in the configuration file, I do not pass "api_key", but I also report the same error of temporary redirection. There is no configuration about redirection in my configuration file. How should I solve it? Thank you very muchAfter I pass "api_key" as a parameter, I report an error of "302 temporary redirection". After I write "open_access" in the configuration file, I do not pass "api_key", but I also report the same error of temporary redirection. There is no configuration about redirection in my configuration file. How should I solve it? Thank you very much ------------------ 原始邮件 ------------------ 发件人: "tigase/tigase-server" ***@***.***>; 发送时间: 2021年10月8日(星期五) 下午2:51 ***@***.***>; ***@***.******@***.***>; 主题: Re: [tigase/tigase-server] tigase8.1.2 api cannot be used (issue #1458) As stated at https://docs.tigase.net/tigase-http-api/stable-snapshot/Tigase_HTTP-API_Guide/html/ you need to pass api-key as a parameter and not api_key as you did. Please see mentioned documentation for more hints and suggestions. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. |
I have a problem with… When I use java to call the API in rest, I report the error "to access URI = '/ rest / stream /' a valid API key is required". I added an apikey in the admin page, but it is useless. There is no init.properties file in the etc directory of version 8.1.2. Do I need to create it myself
**Details **