diff --git a/v2/harvest_api_sample.cfm b/v2/harvest_api_sample.cfm new file mode 100644 index 0000000..e199be4 --- /dev/null +++ b/v2/harvest_api_sample.cfm @@ -0,0 +1,4 @@ +cfhttp( Url="https://api.harvestapp.com/v2/users/me" ) { + cfhttpparam( type="header", name="Authorization", value="Bearer my-access-token" ) + cfhttpparam( type="header", name="Harvest-Account-ID", value="my-account-id" )} +writeDump( deserializeJSON(cfhttp.FileContent) ) \ No newline at end of file