twilio / twilio-go

A Go package for communicating with the Twilio API.
MIT License
272 stars 40 forks source link

feat: Add support for x-www-form-urlencoded requests to rv.ValidateBody #165

Closed heyztb closed 2 years ago

heyztb commented 2 years ago

Fixes

Fixes #137

This PR adds support for x-www-form-urlencoded requests to the ValidateBody method on the RequestValidator struct. Previously, only JSON requests would be handled properly.

Checklist

claudiachua commented 2 years ago

Hi @heyztb , I had to revert this PR as you were trying to merge to main instead of the rc branch. Have included your changes here