简体   繁体   中英

Using gikom openfire REST API when hit using the php code , the error appears as 401 unauthorized

PHP code that gives the 401 unauthorized.

The Rest API authorities have been enabled and also a secret key has been given for auth.

The http response code 401 says that the provided secret key is wrong or simply not right in place. It needs to be in the header param of the request.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM