AnsweredAssumed Answered

API calls to the data Portal help!

Question asked by Franco Pettigrosso on Nov 9, 2016
Latest reply on Nov 15, 2016 by Garth Egbert

Hello all,

I am currently doing a project where I need to extract data from the data dump about teacher transactions and stuff of that nature. I used the code from and the signature process works for me. For my API call, I am doing it in Powershell. The code is below:

$security_token="my secret password"
$header = @{"Authorization"="HMACAuth "+ $security_token }
$purlly=Invoke-WebRequest -Headers $header   -Method Get   -Uri $url_main   
$curlly = ConvertFrom-Json $purlly.Content

when I run the script, I get a 401, unauthorized callback. So my question is there something wrong with my API-call or is there something I am doing wrong?