by saganus · 7y ago · 0 comments
Some months ago I had a need to create a "quick and dirty" API utility for internal use and I remembered about Lazarus.
However I couldn't find an HTTP client component that I could use. I just wanted to do the equivalent of a curl GET/POST call.
I'm not sure if maybe I'm not familiar enough with the wiki structure so I missed it, but I remember I searched for about an hour before I gave up.
I'd really like to start using a Delphi-like IDE again as I think it is a very useful and productive tool, especially for ad-hoc stuff.
Any pointers in the right direction would be greatly appreciated!
`
discogsJson := HttpGet('https://api.discogs.com/artists/45/releases?page=1&per_page=...');
`
Here: https://github.com/synopse/mORMot/blob/54dd708d25586008260f2...
I do remember I clicked on that briefly but I thought it was too low level like you said, and I thought there would be something else so I kept looking.
I guess I was wrong, but it's good to know there is something that works.
It also doesn't look that bad anyway, so I might as well give it a try.
Thanks!