Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get this working. #1

Closed
tmfksoft opened this issue May 24, 2017 · 4 comments
Closed

Unable to get this working. #1

tmfksoft opened this issue May 24, 2017 · 4 comments

Comments

@tmfksoft
Copy link

Hi, I've tried your lib in the hope of getting my code working alongside the AWS API.
However, at this point I cannot get the demo data to work.
My code for testing with your demo data is below:

let multipart = require('parse-multipart');
let parts = multipart.Parse(multipart.DemoData(),"----WebKitFormBoundaryvef1fLxmoUdYZWXp");
console.log(parts);
for(let i=0;i<parts.length;i++){
	let part = parts[i];
	console.log(part);
	// will be:
	// { filename: 'A.txt', type: 'text/plain', 
	//		data: <Buffer 41 41 41 41 42 42 42 42> }
}

I may be overlooking something, do get back to me if I've merely forgotten something

@christiansalazar
Copy link
Contributor

christiansalazar commented May 24, 2017 via email

@christiansalazar
Copy link
Contributor

christiansalazar commented May 24, 2017 via email

@tmfksoft
Copy link
Author

Hi, thanks for getting back so soon, I'll try this out shortly and get back to you :)

@tmfksoft
Copy link
Author

Using the demo data works, this issue is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants