detergentex
detergentex copied to clipboard
Access to authenticated web services.
Hi Ricardo, Does detergentex support authenticated services? I need to contact a service using elixir that requires username/password. Thank you.
Hello I think it its current state it works if the user and password are part of the service parameters if you have to send it in the headers part then I need to call that detergent function instead. Which at the moment I don't do.
If you need that then I can modify it and you can test it to add that functionality to the library.
Thank you for your answer. I am going to fork the project and try to add that functionality myself. Once it works I will issue a pull request. Hopefully my use case will be supported by detergent (erlang) out of the box. Otherwise I will have to change the erlang project first.
Hey I was looking into the Erlang code and I think this line should be a clue of how to send the headers.
https://github.com/devinus/detergent/blob/master/src/detergent.erl#L113
Hopefully you don't need to modify the Erlang project.
Hi @jgarciasacristan, I know it's been a while but did you manage to access an authenticated service?
Hi @kottkrig, did you find any information about authentication?
@f1729 no unfortunately not.