Replies: 2 comments
-
form.append(
'file',
buffer,
{
filename: 'test.png',
},
}), |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sindresorhus
-
|
Wow! I didn't understand that these Thank you so much! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What would you like to discuss?
I am trying to post a file to Slack API
I have a working example with the deprecated
requestpackage:I am trying to do the same with
gotandform-databut it doesn't work, I have ano_file_dataerror.One of my tries:
Maybe this is more related to
form-data?Any help would be really appreciated. Thank you 🙏
Checklist
Beta Was this translation helpful? Give feedback.
All reactions