Skip to content

Conversation

@davidgrayston
Copy link
Contributor

@davidgrayston davidgrayston commented Sep 27, 2019

Fixed

  • YotiResponse.getParsedResponse() returns
    • Buffer for binary responses
    • Parsed JSON for JSON responses
    • null for empty responses

Added

  • YotiRequest.execute(buffer = false)
    • Optional buffer argument that (default value: false).
    • Set true to return binary content types as a Buffer.
  • YotiResponse.getBody()
    • Returns string for text responses
    • Returns Buffer for binary responses

@davidgrayston davidgrayston added this to the 3.7.2 milestone Sep 27, 2019
@davidgrayston davidgrayston self-assigned this Sep 27, 2019
@davidgrayston davidgrayston merged commit bd5316a into master Oct 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants