Solved

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

Posted on 2014-04-03
1
595 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

A short article about problems I had with the new location API and permissions in Marshmallow
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

776 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