@Dominar el ingles I think you are passing the pronunciation assessment parameters in the body of the request rather than headers. I followed these steps to create a header for assessment parameters using the below snippet from this script and then used them in my POST call through postman.
import requests
import base64
import json
referenceText = "Good morning."
pronAssessmentParamsJson = "\"ReferenceText\":\"%s\",\"GradingSystem\":\"HundredMark\",\"Dimension\":\"Comprehensive\"}" % referenceText
pronAssessmentParamsBase64 = base64.b64encode(bytes(pronAssessmentParamsJson, 'utf-8'))
pronAssessmentParams = str(pronAssessmentParamsBase64, "utf-8")
print(pronAssessmentParams)
Using Postman I selected the audio file required for assessment by selecting binary option as the body.
Copy the Assessment parameter header from the above snippet and use it in the request below as seen along with other parameters.
As observed, the response contains the result and the assessment of reference text with the scores. I hope this helps!!
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.