The url tag has no wiki summary.
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 ...
6
votes
4answers
304 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 ...
5
votes
5answers
492 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 ...
3
votes
1answer
91 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
133 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 ...
2
votes
2answers
111 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
56 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 ...
2
votes
1answer
404 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 ...
2
votes
1answer
401 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
307 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 ...
1
vote
2answers
2k 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 ...
1
vote
3answers
820 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
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: ...
0
votes
3answers
178 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 ...
0
votes
0answers
3 views
What method call in HttpsURLConnection actually sends the HTTP request? [migrated]
I am new to the HttpsURLConnection class in java, and looked on the doc and found it not very enlightening. I have inherited this code on a project I am working on (I did not write it myself) and ...
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 ...
0
votes
2answers
277 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 ...