The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
3answers
151 views

URLs in javascript in the browser

We are trying to continually improve our source code base and a question came up recently which throws open a new area to improvement. Where best to put URLs that are needed in JavaScript? Do we put ...
0
votes
1answer
110 views

Different operators in query string like ?var!=value

This one may actually be 2 questions in one. Studying some APIs I came across an api suggesting to have operand different from equal (=) inside the query string (http://www.salesboard.com/api/): ...
0
votes
0answers
49 views

What should my redirect URL be for OAuth2.0 in Azure if my application is a local windows application?

I am setting up OAuth2.0 on Azure. I am at the stage where I have been allowed access to the application and a Code has been returned in my redirect URL. My application is a local windows application. ...
0
votes
1answer
89 views

Good practice to pass this information through URL parameter

Basically, let's suppose an application that manage some user's meetings. I have a filtering zone on a page that aims to specify the category of items I need to specifically return. ...
0
votes
0answers
42 views

Redirection methods for webpages

(This is question involving user experience, but I am primarily interested in the best practice technical solution to this common problem.) There are several places in my website where users are ...
2
votes
2answers
240 views

Is is OK to use a non-primary key as the id in a rails resource?

I am getting ready to set up a resource for some new api calls to my rails application. I am planning on calling the resource devices ie resources :devices This is going to represent android ...
2
votes
1answer
59 views

Webservice Design: benefits of piping use-cases to URL rather than using search param's, or vice versa?

I've gotta build a webservice for employee information, and I'm trying to plan it out. To clarify, we already have a REST-ish service for People and a separate REST-ish service for Companies. This ...
4
votes
1answer
96 views

In what URL segment do you have language? /en/admin/dashboard or /admin/en/dashboard? [closed]

maybe you are thinking that this is another dump question about language in URL, but I hope it is not! I've red many articles on this, but non of them was dealing with "sections of site" (described ...
2
votes
3answers
136 views

HasMany RESTfull Implementation

So I've been reading a lot on RESTfull design - specifically dealing with resources. Taking the canonical example of Users, Posts, and Comments, with relationships as: Users ---(hasMany)---> Post ...
19
votes
2answers
1k views

Levels of user permissions in a RESTful API

Let's say I have a company that ranks the cutest cats on the internet. I offer a resource at /cats/ which provides users with the latest, cutest adorable cats. Users can either get just the top 3 ...
0
votes
3answers
192 views

URL Naming Convention for with Repetitive Letter

What is a good practice to name an URL if it contains repetitive letters. For example, /info/foossite The two s looks kind of odd and if this was access point for a Web-Service, this could lead into ...
6
votes
4answers
335 views

When did the first “REST”-model and friendly URL web technology come to be?

Everyone knows that the "current" way to do things is to have user-readable URLs. Like: http://example.com/blog/edit/1234 Rather than: http://example.com/blog.php?action=edit&id=1234 When ...
2
votes
1answer
515 views

Creating a site just for URL redirecting (.NET MVC) due to changing domains and URLs

I'd just like to hear about any experience creating a (simple) site for redirecting requests. Basically we have multiple domains, but as we add more domains and change URLs, there is a huge problem ...
1
vote
3answers
1k views

Pass around record ids in the url in PHP

I'm doing a PHP application with CodeIgniter and most of my controllers accept record ids as parameters for retrieving purposes. I also pass record ids in my forms action. Like this: ...
1
vote
3answers
1k views

Is path in Set-Cookie URL encoded?

I'm writing some code that sets cookies and I'm wondering about the exact semantics of the Set-Cookie header. Imagine the following HTTP header line: Set-Cookie: name=value; Path=/%20 For with path ...
1
vote
2answers
3k views

Using double dot notation in URL link

I've recently been working on a project and I've been seeing two different forms of url's being used. src="../MyLinkUrl" and src="/MyLinkUrl" We are using MVC .NET and the times I have seen the ...
5
votes
5answers
538 views

Best way to protect website application code

Background I have a web application that I host on my own server. I have clients who use the application as is, but some have asked if they can host the application on their own server. This enables ...
0
votes
2answers
320 views

add a prefix to localhost [closed]

Is there any possibility to add a prefix before localhost? My question is that I want to add a prefix before localhost for my project url (ie. "dev.localhost/project/default.htm"). This is for an ...
2
votes
1answer
478 views

Should I implement slugs with my already fairly long URLs? [closed]

I'm considering implementing slugs in my blog. My blog uses MongoDB. One of the side-effects of using MongoDB is that it uses relatively long hex string IDs. Example before: ...
2
votes
2answers
324 views

How do we set a link to a Paid version of app if we don't have the app in App Store ?

If we don't have the free and the paid apps on the Apple app store yet, how would we program in the free version to link to the paid version because the link is not there yet? Do we have to have a ...