Is there a specification for the protocol OpenLayers uses to communicate with the server? I'm trying to reverse engineer what happens on GET, POST, PUT and DELETE, but I don't like to do it this way.
Example:
var vectorLayer = new OpenLayers.Layer.Vector("Vector Layer", {
protocol: new OpenLayers.Protocol.HTTP({
url: '...',
format: new OpenLayers.Format.GeoJSON({})
}),
});