<div dir="ltr">To clarify, is there a way for me to access a url that ends with '.xml'</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 15, 2015 at 10:52 AM, Samuel Barney <span dir="ltr"><<a href="mailto:samjbarney@gmail.com" target="_blank">samjbarney@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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?<div><br></div><div>Respectfully,</div><div>Samuel Barney</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 15, 2015 at 10:48 AM, Drew Varner <span dir="ltr"><<a href="mailto:drew.varner@redops.org" target="_blank">drew.varner@redops.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Samuel,<div><br></div><div>You need to make sure you have a compete URI, for example “<a href="http://www.google.com" target="_blank">http://www.google.com</a>”.</div><div><br></div><div>It looks like you forget the “<a href="http://“" target="_blank">http://“</a> portion.</div><div><br></div><div>See <a href="https://github.com/erlang/otp/blob/a2670f0822fc6729df956c8ec8c381340ff0a5fb/lib/inets/src/http_lib/http_uri.erl#L137-L139" target="_blank">https://github.com/erlang/otp/blob/a2670f0822fc6729df956c8ec8c381340ff0a5fb/lib/inets/src/http_lib/http_uri.erl#L137-L139</a></div><div><br></div><div>Cheers,</div><div>Drew</div><div><br><div><blockquote type="cite"><div><div><div>On Sep 15, 2015, at 6:43 PM, Samuel Barney <<a href="mailto:samjbarney@gmail.com" target="_blank">samjbarney@gmail.com</a>> wrote:</div><br></div></div><div><div><div><div dir="ltr">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?<div><br></div><div>Respectfully,</div><div>Samuel Barney</div></div></div></div>
_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br><a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br></div></blockquote></div><br></div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>