Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access to authenticated web services. #3

Open
jgarciasacristan opened this issue Jun 16, 2015 · 6 comments
Open

Access to authenticated web services. #3

jgarciasacristan opened this issue Jun 16, 2015 · 6 comments

Comments

@jgarciasacristan
Copy link

Hi Ricardo,
Does detergentex support authenticated services? I need to contact a service using elixir that requires username/password.
Thank you.

@r-icarus
Copy link
Owner

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.

@jgarciasacristan
Copy link
Author

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.

@r-icarus
Copy link
Owner

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.

@kottkrig
Copy link

kottkrig commented Aug 15, 2017

Hi @jgarciasacristan, I know it's been a while but did you manage to access an authenticated service?

@f1729
Copy link

f1729 commented Aug 22, 2017

Hi @kottkrig, did you find any information about authentication?

@kottkrig
Copy link

@f1729 no unfortunately not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants