Skip to content

Instantly share code, notes, and snippets.

@roulupen
Last active January 15, 2021 18:30
Show Gist options
  • Save roulupen/6044108 to your computer and use it in GitHub Desktop.
Save roulupen/6044108 to your computer and use it in GitHub Desktop.
<cfset request.getSMSS = structNew() />
<cfhttp
method="get"
url="https://api.plivo.com/v1/Account/{Auth ID}/Message/"
result="request.getSMSS">
<cfhttpparam type="header" name="Authorization" value="Basic #ToBase64("{AUTH_ID}:{AUTH_TOKEN}")#" />
<cfhttpparam type="url" name="limit" value="10" />
<cfhttpparam type="url" name="offset" value="1" />
</cfhttp>
<cfdump var="#request.getSMSS#">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment