Help for this page

Select Code to Download


  1. or download this
    curl -X POST "https://mysite.com/lookup" \
        -d '{"name":"respond", "falvour": green, "location": europe, "enti
    +ties":[369662]}' \
        -H "Content-Type: application/json"
    
  2. or download this
    my $ua = LWP::UserAgent->new;
    $ua->default_header('Content-Type' => 'application/json');
    ...
                location            => "europe",
            };
    my $response = $ua->post( 'https://mysite.com/lookup', $data