Download an image from a URL?

后端 未结 3 2047
清歌不尽
清歌不尽 2020-12-15 04:28

I am trying to use HTTP::get to download an image of a Google chart from a URL I created.

This was my first attempt:

failures_url  = [title, type, d         


        
3条回答
  •  暖寄归人
    2020-12-15 05:30

        resp = http.get("/chart?#{failures_url")
    

    If you copied your original code then you're missing a closing curly bracket in your path string.

提交回复
热议问题