---
title: "Sidharth Kumar (@Sidk) | Hashnode"
description: "Sidharth Kumar (@Sidk) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@Sidk"
---

@Sidk

# Sidharth Kumar

@Sidk · Joined February 2021

## Comments

[Hi Victoria Lo, Its working. Thanks a lot, Simple error on my side on routes. The way you explain the tutorial is amazing. Thanks once again for your support.](https://hashnode.com/posts/build-rest-api-with-nodejs-upload-files-mongodb/5f2cb59d3b12e25afe3e42df/comment/6019606f58cc670f3df464e5#reply-60196fe158cc670f3df4660c)

Reply · Article · Feb 2, 2021 · [Build a REST API with Node.js: Upload an Image File](https://hashnode.com/posts/build-rest-api-with-nodejs-upload-files-mongodb/5f2cb59d3b12e25afe3e42df)

[Hi Victoria Lo , Awesome tutorial.Its really very good tut. I have problem while using image upload from postman. Only when i use form-data method 'post' in POSTMAN i'm getting error while using image type file. Getting this error name": "ValidatorError", "message": "Path name is required.". But all the pervious code with out image is working fine with raw data with json data type. I try to debuge it .It happens only when i use form-data then in code req.body.name is not working but while using raw data using json its working. Should i need to use this const bodyParser = require('body-parser'); app.use(bodyParser.urlencoded({ extended: false })) app.use(bodyParser.json()) Can you please help me upload image using form-data using POSTMAN ?](https://hashnode.com/posts/build-rest-api-with-nodejs-upload-files-mongodb/5f2cb59d3b12e25afe3e42df/comment/6019606f58cc670f3df464e5)

Comment · Article · Feb 2, 2021 · [Build a REST API with Node.js: Upload an Image File](https://hashnode.com/posts/build-rest-api-with-nodejs-upload-files-mongodb/5f2cb59d3b12e25afe3e42df)

[Awsome article.. Clearly explained with all core working links. hey Victoria, Do you have any youtube channel.? I would love to subscribe?](https://hashnode.com/posts/build-rest-api-with-nodejs-controllers/5f2b6a5f3dddda50802a8e5a/comment/6018c5d371a0a26a8eebbf6e)

Comment · Article · Feb 2, 2021 · [Build a REST API with Node.js: Finalizing Controllers](https://hashnode.com/posts/build-rest-api-with-nodejs-controllers/5f2b6a5f3dddda50802a8e5a)
