HTTP: Difference between revisions
→{{header|Sidef}}: use "HTTP::Tiny", which is a core module
imported>Gabrielsroka |
(→{{header|Sidef}}: use "HTTP::Tiny", which is a core module) |
||
Line 2,643:
=={{header|Sidef}}==
Sidef can load and use Perl modules:
<syntaxhighlight lang="ruby">
var lwp = (▼
func get(url) {
if (resp{:success}) {
▲ var ua = lwp.new(agent => 'Mozilla/5.0')
}
return nil
}
=={{header|Smalltalk}}==
|