Hi, I just tried to add the library to my project. But I'm not able to use Basic authentication. Attached you find my code snippet: conn = OData::Service.open('https://apipreview.service.com/odata', { name: 'ODataDemo', typhoeus: { username: 'user@domain.com', password: 'password', httpauth: :basic }}) I'll get an unauthorized error message when I try to connect. Can you give me feedback, if I specified Basic authentication the right way?
Hi, I just tried to add the library to my project. But I'm not able to use Basic authentication. Attached you find my code snippet:
conn = OData::Service.open('https://apipreview.service.com/odata', { name: 'ODataDemo', typhoeus: { username: 'user@domain.com', password: 'password', httpauth: :basic }})
I'll get an unauthorized error message when I try to connect. Can you give me feedback, if I specified Basic authentication the right way?