serviceberry-form

1.0.2 • Public • Published

serviceberry-form

CircleCI Test Coverage Maintainability npm version

URL encoded form serialization plugin for Serviceberry.

API

contentType

application/x-www-form-urlencoded

deserialize(request, response)

Transforms the request content into the request body

serialize(request, response)

Transforms the response body into the response content.

Serializing a response body as a form encoded string doesn't seem particularly useful but it felt rather asymmetrical for this plugin to only support deserialization.

A known serialization quirk is that arrays are serialized as list and not duplicated keys

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    27
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    27
  • 1.0.0
    0

Package Sidebar

Install

npm i serviceberry-form

Weekly Downloads

8

Version

1.0.2

License

MIT

Unpacked Size

11.5 kB

Total Files

10

Last publish

Collaborators

  • bob-gray