[erlang-questions] Having trouble with httpc
Tue Sep 15 18:59:25 CEST 2015
Can you share an example?
Eshell V7.0 (abort with ^G)
—end snip —
Works for me.
> On Sep 15, 2015, at 6:53 PM, Samuel Barney <samjbarney@REDACTED> wrote:
> To clarify, is there a way for me to access a url that ends with '.xml'
> On Tue, Sep 15, 2015 at 10:52 AM, Samuel Barney <samjbarney@REDACTED> wrote:
> I just tried hitting a different page, and it worked just fine. I do have the http://, but I think the error is that the url ends in '.xml'. Is there a way to get around that?
> Samuel Barney
> On Tue, Sep 15, 2015 at 10:48 AM, Drew Varner <drew.varner@REDACTED> wrote:
> You need to make sure you have a compete URI, for example “http://www.google.com”.
> It looks like you forget the “http://“ portion.
> See https://github.com/erlang/otp/blob/a2670f0822fc6729df956c8ec8c381340ff0a5fb/lib/inets/src/http_lib/http_uri.erl#L137-L139
>> On Sep 15, 2015, at 6:43 PM, Samuel Barney <samjbarney@REDACTED> wrote:
>> I'm trying to use httpc:request/1, but every single time I call it I get a no_scheme error. I've started inets, and all of the examples I've found say I am doing it correctly. Has anyone had this error before, and how did you resolve it?
>> Samuel Barney
>> erlang-questions mailing list
More information about the erlang-questions