<< Back to GIL API Documentation
Invokes the control command with the given name on the transfer pipeline stage with the given seqNo.
api/pipeline/stages/<seqNo>/commands/<name>[.format]
html, xml, json
POST
Examples using curl tool which is freely downloadable.
curl -v -X POST -d "doBypass=true" http://localhost:9980/api/pipeline/stages/0/commands/bypass
curl -v -X POST --data-binary "<parameters><parameter><name>doBypass</name> <value>true</value></parameter></parameters>" -H"Content-Type: application/xml" http://localhost:9980/api/pipeline/stages/0/commands/bypass
curl -v -X POST --data-binary "{\"parameter\":[{\"name\":\"doBypass\",\"value\":\"true\"}]}" -H"Content-Type: application/json" http://localhost:9980/api/pipeline/stages/0/commands/bypass