Carpe-Hora / SmsSender

[DEPRECATED] The almost missing SMS sending PHP library.
MIT License
54 stars 19 forks source link

allow sending data in request body #16

Closed hairmare closed 10 years ago

hairmare commented 10 years ago

This allows providers to pass string data to getContent. If a string is passed it gets sent as request body rather than through request parameters.

This allows integrating APIs that expect a client to send the message payload as a request body.

A provider that implements such an API may be found at hairmare/SmsSender-Swisscom-Provider. I'll create a pull-request for the provider when the underlying service is considered stable.

K-Phoen commented 10 years ago

Thanks :)

K-Phoen commented 10 years ago

Btw, I'll be more than happy to merge your provider when it will be ready.