Skip to content

Instantly share code, notes, and snippets.

Avatar

Narasimha Prasanth Chintarlapalli Reddy prasanthnarasimha

View GitHub Profile
@prasanthnarasimha
prasanthnarasimha / gist:df679ae949a84db0eafb58d2ef8c9169
Created Sep 11, 2017 — forked from Saeven/gist:7832090
RAW Curl Post to AWS Kinesis with PHP
View gist:df679ae949a84db0eafb58d2ef8c9169
<?php
/*
POST / HTTP/1.1
Host: kinesis.<region>.<domain>
x-amz-Date: <Date>
Authorization: AWS4-HMAC-SHA256 Credential=<Credential>, SignedHeaders=content-type;date;host;user-agent;x-amz-date;x-amz-target;x-amzn-requestid, Signature=<Signature>
User-Agent: <UserAgentString>
Content-Type: application/x-amz-json-1.1
Content-Length: <PayloadSizeBytes>
You can’t perform that action at this time.