body = {
    roundTrip = {
        origin = 'BOS', dest = 'LAX',
        numOfAdults = 1, bookingType = 'DOLLAR',
        departureDate = '2015-07-30', returningDate = '2015-07-31'
    }
}
function postCallback(res)
    print(res.status.status)
end
function getCallback(res)
    print(res)
end

print(net)  -- Table
print(net.http) -- Table
print(net.http.get) -- Java Function
print(net.http.post) -- Java Function

net.http.get('http://nikolasmoya.com', function(res) print(res) end)
net.http.post('https://www.virginamerica.com/api/v0/booking/search-cal', body, postCallback);