Are you able to scan the barcode ?
Do you want to send the result of barcode to any web-service ?
If second one is your question then use Net api, parse your barcode and send it. You can find the examples in the docs.
You can simply write a ajax method to send data to the server(http), and call that method on barcode scan by passing the barcode scanned data.