forwardemail / forwardemail/superagent

multipart field value which is null will be treated with 'null' by HTTP.

Open
#1,268 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
16.6k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

which is not expected and confused for receiving part:

request
.post('/api/upload')
.attach('sheet', sheet)
.field('jobId', null) // <- will be treated with string 'null'

could we just ignore these fields which value means nothing in JavaScript ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.