revdotcom / revai-go

Rev.ai golang client
https://www.rev.ai/docs
MIT License
21 stars 12 forks source link

TranscriptService: Fix GetText return type #23

Closed thiagopnts closed 2 years ago

thiagopnts commented 2 years ago

We need to send TextPlainHeader in the Accept header to correctly return the plain text version of the transcription, instead of RevTranscriptJSONHeader which makes the plain text response to be a json payload