Expected CR Received 45

Are you getting above error while trying to post a file node express server.

The reason of above might be that you are having a file picket like this with out a name

<input type=”file” />

What you need to do to get it working is just a name attribute to it

<input type=”file” name=”filePicker”/>

If you would like to know how you can upload a file in Node js search my blog for same.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s