Lucasdev 0 Posted August 28, 2023 Share Posted August 28, 2023 Como faço para criar um usuario que exige a senha? Os usuario que eu crio utilizando a api eu passo o Password no body da requisição porem o usuario fica sem senha, e eu achei a documentação um quanto rasa nesse quesito! Quem poder ajudar ficarei grato. Link to comment Share on other sites More sharing options...
Luke 37094 Posted August 28, 2023 Share Posted August 28, 2023 Hi, create the user first, then update the password. Here is sample code: https://github.com/MediaBrowser/Emby.ApiClient.Javascript/blob/master/apiclient.js#L3229 Please let us know if this helps. Thanks. Link to comment Share on other sites More sharing options...
Lucasdev 0 Posted August 29, 2023 Author Share Posted August 29, 2023 16 hours ago, Luke said: Olá, primeiro crie o usuário e depois atualize a senha. Aqui está o código de exemplo: https://github.com/MediaBrowser/Emby.ApiClient.Javascript/blob/master/apiclient.js#L3229 Por favor, deixe-nos saber se isso ajuda. Obrigado. Só recebo: "Cannot POST/Users/user_id/Password Link to comment Share on other sites More sharing options...
Luke 37094 Posted August 29, 2023 Share Posted August 29, 2023 6 hours ago, Lucasdev said: Só recebo: "Cannot POST/Users/user_id/Password What happens when you try? Link to comment Share on other sites More sharing options...
Lucasdev 0 Posted August 29, 2023 Author Share Posted August 29, 2023 42 minutes ago, Luke said: O que acontece quando você tenta? Exatamente isso ai, é como se o recurso não exista Link to comment Share on other sites More sharing options...
Luke 37094 Posted August 30, 2023 Share Posted August 30, 2023 What response code did you get back? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now