[erlang-questions] Having trouble with httpc
Tue Sep 15 19:14:07 CEST 2015
Eshell V7.0.3 (abort with ^G)
On Tue, Sep 15, 2015 at 10:59 AM, Drew Varner <drew.varner@REDACTED>
> Can you share an example?
> Eshell V7.0 (abort with ^G)
> 1> inets:start().
> 2> ssl:start().
> 3> httpc:request("
> —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>
> > 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?
> > Respectfully,
> > Samuel Barney
> > On Tue, Sep 15, 2015 at 10:48 AM, Drew Varner <drew.varner@REDACTED>
> > Samuel,
> > You need to make sure you have a compete URI, for example “
> > It looks like you forget the “http://“ portion.
> > See
> > Cheers,
> > Drew
> >> On Sep 15, 2015, at 6:43 PM, Samuel Barney <samjbarney@REDACTED>
> >> 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?
> >> Respectfully,
> >> Samuel Barney
> >> _______________________________________________
> >> erlang-questions mailing list
> >> erlang-questions@REDACTED
> >> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions