Skip to content
mrutid edited this page Feb 7, 2012 · 6 revisions

curl -v --header "X-Relayer-Host:http://nodejs.org" http://relaya:8030/

curl -v -H "X-Relayer-Host:http://nodejs.org" -H "X-relayer-persistence: STATUS" http://relaya:8030/

curl -v -H "X-Relayer-Host:http://nodejs.org" -H "X-relayer-persistence: HEADER" http://relaya:8030/

curl -v -H "X-Relayer-Host:http://nodejs.org" -H "X-relayer-persistence: BODY" http://relaya:8030/

curl -v -H "X-Relayer-Host:http://nodejs.org" -H "X-relayer-persistence: STATUS" -H "x-relayer-httpcallback: http://relaylb:1234" http://relaya:8030/

curl -v -H "X-Relayer-Host:http://nodejs.org" -H "X-relayer-persistence: HEADER" -H "x-relayer-httpcallback: http://relaylb:1234" http://relaya:8030/

curl -v -H "X-Relayer-Host:http://nodejs.org" -H "X-relayer-persistence: BODY" -H "x-relayer-httpcallback: http://relaylb:1234" http://relaya:8030/

//ERROR MSG

curl -v -H "X-Relayer-Host:http://nohost" -H "X-relayer-persistence: BODY" -H "x-relayer-httpcallback: http://relaylb:1234" http://relaya:8030/

curl -v -H "X-Relayer-Host:http://nohost" -H "X-relayer-retry:1,2,1000" -H "X-relayer-persistence: BODY" -H "x-relayer-httpcallback: http://relaylb:1234" http://relaya:8030/

Clone this wiki locally