Files
sf_daq_buffer/cadump/api.http
T
babic_a 0501533b80 Add 'cadump/' from commit '89228a57f2936f8cf2e6fb9c3a37c337c5b4d011'
git-subtree-dir: cadump
git-subtree-mainline: c99ec49917
git-subtree-split: 89228a57f2
2020-08-11 10:59:17 +02:00

24 lines
1.0 KiB
HTTP

# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection) or
# paste cURL into the file and request will be converted to HTTP Request format.
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
# curl -XPUT -d '{"range":{"startPulseId": 11281433214, "endPulseId": 7281489688}, "parameters":{"output_file":"test.h5"}}' http://localhost:10200/notify
PUT http://localhost:10200/notify
Content-Type: application/json
{"range":{"startPulseId": 11876043548, "endPulseId": 11876044548}, "parameters":{"output_file":"test.h5"}}
###
PUT http://localhost:10200/notify
Content-Type: application/json
{"range":{"startPulseId": 11876043548, "endPulseId": 11876044548}, "parameters":{"output_file":"test.h5"}, "channels": ["ABC"]}
###