Kong / Kong/unirest-nodejs

Request.part()

Open
#133 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
953
Forks
164
PR merge metrics
No merged PRs in 30d

Description

Request
.part({
'content-type': 'application/json',
body: { foo: 'bar' }
})

does not work. No data sent.

How to set application/json type in .field('parameter', 'value') // Form field ?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Request.part() example and compare it with the .field('parameter', 'value') usage described in the issue. Trace how the request body and content type are handled, then verify that application/json data is sent as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.