fortran-lang / http-client

http-client offers a user-friendly, high-level API to make HTTP requests in Fortran.
https://http-client.fortran-lang.org/
MIT License
60 stars 8 forks source link

Real-world example program #46

Closed interkosmos closed 1 year ago

interkosmos commented 1 year ago

I’d like to propose a port of fortran-xkcd to http-client as a “real-world” example. The upstream version uses fortran-curl for all GET requests. The fork could replace fortran-curl with http-client to fetch JSON data and PNG images.

(However, it doesn’t have to be a fork; an example program within http-client would be fine, too.)

rajkumardongre commented 1 year ago

Thank you @interkosmos, for providing this, I will work on this.

rajkumardongre commented 1 year ago

Hi @interkosmos, as suggested I have created a PR, Where I have used http-client package to make http requests and fetch json and image data.

interkosmos commented 1 year ago

Your changes have been merged. Thank you.