Solved

how to change call path of url in node.js with express?

Posted on 2014-04-03
1
565 Views
Last Modified: 2014-04-23
Hi all,

I have running node.js application on my server.

I wan't to add version in the url. i.e. version 1 - v1
Current Url: https://myapplicationdomain.com/ (old)
New Version Url: https://myapplicationdomain.com/v1/ (new)

So, i can query all the function by adding v1 in the url, like
Old Login request: https://myapplicationdomain.com/login?username=
New Login request: https://myapplicationdomain.com/v1/login?username=

So, how to achieve this, How can i make "v1" in my url for request call.

Any help is appreciated.


Thanks & Regards,
Krunal T. Tailor
0
Comment
Question by:KRUNAL TAILOR
1 Comment
 
LVL 12

Accepted Solution

by:
KRUNAL TAILOR earned 0 total points
Comment Utility
I figure out this with some different way.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
This article discusses how to create an extensible mechanism for linked drop downs.
This video teaches users how to migrate an existing Wordpress website to a new domain.
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now