Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add the ability to post a JSON payload to the Twilio API's #83

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Jul 9, 2021

  1. feat: add the ability to post a JSON payload to the Twilio API's

    Updating the configuration of a Flex instance requires a POST request to be made with a JSON payload. This change lays the foundations to support this.
    The PostJson accepts an interface for the request body (data) instead of just a map as this prevents the computational overhead of having to marshal the struct to a slice of bytes then create a string from the bytes. The JSON string would then be unmarshalled to a map and then marshalled again to a slice of bytes
    RJPearson94 committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    3d97366 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2021

  1. Configuration menu
    Copy the full SHA
    cdae9d0 View commit details
    Browse the repository at this point in the history
  2. test: convert http method to be upper case and add missing import

    the http methods are converted to upper case to because the http method constants i.e. MethodGet, MethodPost values are uppercase
    RJPearson94 committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    f223b95 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2021

  1. Configuration menu
    Copy the full SHA
    87fa601 View commit details
    Browse the repository at this point in the history