Hi,

> Am 14.03.2026 um 12:33 schrieb Patrick CARDONA <[email protected]>:
> 
> My questions:
> - Does exist an in-purpose class/method to fetch the URL and get the query 
> back as a string?

well, on Cocoa there is -[NSAttributedString initWithURL:documentAttributes:] 
and -[NSAttributedString initWithURL:options:documentAttributes:error:] but I 
don't know if it exists in GNUstep.

> - If not, is a NStask with 'wget' or 'curl' command and reading then the 
> produced tempfile a good approach?

At least this is a good fallback if above fails. You can likely capture stdout 
of "wget -O -" or"curl -o -" from NSTask to circumvent using a tempfile.

BR,
Nikolaus


Reply via email to