Click here to Skip to main content
15,913,939 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: hello! I wanted to ask how should we code the domain code ourselves? That is, to register a domain for our website and not to get it from somewhere else? What to learn for it Or what book he read Pin
Richard MacCutchan15-Sep-20 21:34
mveRichard MacCutchan15-Sep-20 21:34 
Answerok, thanks Pin
Member 1493949715-Sep-20 21:39
Member 1493949715-Sep-20 21:39 
SuggestionRe: Domain registration Pin
Richard Deeming15-Sep-20 22:01
mveRichard Deeming15-Sep-20 22:01 
Questionvisualization of data on a website, where the data is provided by some remote C++ program Pin
Arist0tle11-Sep-20 5:44
Arist0tle11-Sep-20 5:44 
AnswerRe: visualization of data on a website, where the data is provided by some remote C++ program Pin
professor tourneseul17-Mar-21 7:50
professor tourneseul17-Mar-21 7:50 
QuestionKENDO GRID with PAGING, SORTING, FILTERING , CUSTOMIZATION Pin
sagarpallavi9-Sep-20 21:40
sagarpallavi9-Sep-20 21:40 
QuestionHI Everyone Pin
Sarbjit Grewal6-Sep-20 18:20
professionalSarbjit Grewal6-Sep-20 18:20 
AnswerRe: HI Everyone Pin
Sandeep Mewara6-Sep-20 19:03
mveSandeep Mewara6-Sep-20 19:03 
QuestionWordpress to html software, So I can code it freely (live option?) Pin
Dr3am'R6-Sep-20 4:58
Dr3am'R6-Sep-20 4:58 
AnswerRe: Wordpress to html software, So I can code it freely (live option?) Pin
Sandeep Mewara6-Sep-20 19:07
mveSandeep Mewara6-Sep-20 19:07 
QuestionSimple Question on Http Verbs Pin
Kevin Marois31-Aug-20 7:00
professionalKevin Marois31-Aug-20 7:00 
AnswerRe: Simple Question on Http Verbs Pin
Richard Deeming31-Aug-20 22:37
mveRichard Deeming31-Aug-20 22:37 
GeneralRe: Simple Question on Http Verbs Pin
Kevin Marois1-Sep-20 6:01
professionalKevin Marois1-Sep-20 6:01 
GeneralRe: Simple Question on Http Verbs Pin
Richard Deeming1-Sep-20 7:13
mveRichard Deeming1-Sep-20 7:13 
AnswerRe: Simple Question on Http Verbs Pin
F-ES Sitecore1-Sep-20 0:41
professionalF-ES Sitecore1-Sep-20 0:41 
GeneralRe: Simple Question on Http Verbs Pin
Kevin Marois1-Sep-20 5:59
professionalKevin Marois1-Sep-20 5:59 
GeneralRe: Simple Question on Http Verbs Pin
F-ES Sitecore1-Sep-20 6:35
professionalF-ES Sitecore1-Sep-20 6:35 
GeneralRe: Simple Question on Http Verbs Pin
Kevin Marois1-Sep-20 7:10
professionalKevin Marois1-Sep-20 7:10 
GeneralRe: Simple Question on Http Verbs Pin
F-ES Sitecore1-Sep-20 7:25
professionalF-ES Sitecore1-Sep-20 7:25 
GeneralRe: Simple Question on Http Verbs Pin
Kevin Marois1-Sep-20 10:23
professionalKevin Marois1-Sep-20 10:23 
GeneralRe: Simple Question on Http Verbs Pin
F-ES Sitecore1-Sep-20 10:33
professionalF-ES Sitecore1-Sep-20 10:33 
GeneralRe: Simple Question on Http Verbs Pin
Kevin Marois1-Sep-20 11:09
professionalKevin Marois1-Sep-20 11:09 
GeneralRe: Simple Question on Http Verbs Pin
F-ES Sitecore2-Sep-20 0:37
professionalF-ES Sitecore2-Sep-20 0:37 
GeneralRe: Simple Question on Http Verbs Pin
DerekT-P1-Sep-20 11:12
professionalDerekT-P1-Sep-20 11:12 
It won't fail because he's suggesting calling that with HttpGet as the verb. Syntactically it's correct, but is not good practice.

I guess part of the answer is that historically, the HTTP verb played a more important part. Languages / frameworks were less flexible (or stricter?). There remain some practicalities - if you want to upload a 50Mb file, you don't want to use HttpGet because that would require the payload to be in the URL, and Http doesn't support URLs of that length. Your webserver may handle different verbs very differently, but where we're using IIS we can have ASP.Net handle different verbs - or ignore certain verbs - just how we want. For example, by default, IIS won't let you invoke a .ASMX webservice via HttpGet - but you can make a trivial change in web.config to allow it.

From RFC2616[^], part of the HTTP1.1 definition:
Quote:
In particular, the convention has been established that the GET and HEAD methods SHOULD NOT have the significance of taking an action other than retrieval. These methods ought to be considered "safe". This allows user agents to represent other methods, such as POST, PUT and DELETE, in a special way, so that the user is made aware of the fact that a possibly unsafe action is being requested.
Interestingly, the implication is that the end user is aware of the HTTP verbs being used in an interaction - again, a throwback to a time when internet use was the preserve of techs working at protocol level.

In short, then, the answer to the original question is simply: it's convention.
GeneralRe: Simple Question on Http Verbs Pin
F-ES Sitecore2-Sep-20 0:34
professionalF-ES Sitecore2-Sep-20 0:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.