John Sands' Radio Weblog :
Updated: 9/19/2002; 12:08:16 PM.

 

 
 

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

 
 

Wednesday, March 13, 2002

I did some CSS brushing up today. Here are the links I found most useful:


8:16:50 PM    

Being a good HTTP citizen

I never really got the importance of the W3C HTTP axioms: In HTTP, GET must not have side effects and In HTTP, anything which does not have side-effects must use GET; until today.

I'm implementing some web services using Jon Udell's Power of the URL-Line principle. In other words, the web service request is done with the URL-Line, and the response is simple non-enveloped XML. No SOAP in sight. Every service is a different ASP page. It's very elegant and simple to develop and test.

Most of the services are simple find using this, find using that methods that return XML containing the results of the search. These work great with the URL-line-request/simple-XML-response technique. But two of the services have side effects, similar to logon and logoff methods. I had done them as URL-Line services:
   http://127.0.0.1/playbackservice/agentlogon.asp?agent=agent1&extension=12345
but I realized how dangerous this is. An URL-Line can be emailed and bookmarked and the page can be cached. Not what you want for a service like AgentLogon. So I changed the services that have side-effects to require POST. It makes it a bit harder to test (I need to make a form) but it's worth the trouble to do it the right way. And to finally GET it. (Get it?)

5:05:05 PM    


© Copyright 2002 John Sands.



Click here to visit the Radio UserLand website.

 


March 2002
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Feb   Apr

PicoSearch
blogchalk: John/Male/46-50. Lives in United States/Palm Bay/Lockmar and speaks English. Spends 80% of daytime online. Uses a Faster (1M+) connection.