Skip to content

Instantly share code, notes, and snippets.

anonymous
anonymous / get.spl
Created April 11, 2017 19:50
namespace com.ibm.streamsx.inet.http.sample;
use com.ibm.streamsx.inet.http::*;
/**
* This sample connects to the specified URL and prints the streaming data.
*/
public composite HTTPStreamSample
{
graph
@v1m
v1m / .curlrc
Last active March 29, 2024 13:11
sample .curlrc file
# this is a sample .curlrc file
# https://everything.curl.dev/ is a GREAT RESOURCE
# store the trace in curl_trace.txt file. beware that multiple executions of the curl command will overwrite this file
--trace curl_trace.txt
# store the header info in curl_headers.txt file. beware that multiple executions of the curl command will overwrite this file
--dump-header curl_headers.txt
#change the below referrer URL or comment it out entirely