Registry / http-client / http-form-data

http-form-data

JSON →
library3.0.1rbrubygemsunverified

Utility-belt to build form data request bodies, supporting both application/x-www-form-urlencoded and multipart/form-data types.

gem install http-form_data
INSTALL
IMPORT
SIG · HTTP-FORM-DATA
H
http-form-data
http-clientrubyv3.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HTTP::FormData
require 'http/form_data'

Create a multipart form data object with a text field and a file.

require 'http/form_data' form = HTTP::FormData.create({ name: 'John', avatar: HTTP::FormData::File.new('/path/to/avatar.jpg') }) puts form.content_type
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.0.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
OpenAI (training)
1
Resources
http-form-data — gem install http-form-data · libregistry