Solved

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

Posted on 2014-04-03
1
624 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
ID: 40017269
I figure out this with some different way.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Timer on div 5 22
Session on Html 8 37
Put POST values into cookies. 14 29
How can I allow 0, 10 or 13 digits only with regular expression/javascript 2 14
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

685 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