### ----------------------------------------------------
### -- WWW
### -- Licenses: Artistic-2.0
### -- Authors: Zoffix Znet, Raku community modules maintainers
### -- File: examples/www.p6
### ----------------------------------------------------
use lib <lib>;
use WWW :extras;

# Test HTTP verbs
say get 'https://httpbin.org/';
say jdelete 'https://httpbin.org/delete';
say jput    'https://httpbin.org/put';

say put 'https://httpbin.org/put?meow=moo', :72foo, :bar<♵>;
print put 'https://httpbin.org/put?meow=moo',
    %(Content-type => 'application/json'), :72foo, :bar<♵>;


