Making methods work over http