Monday, 22 March 2010

why you should not deliver a service client...

every time you provide a service to external party,
chances are that they will request a client for your service,
for whatever reason.

apart from wisdom by authorities,
i hate delivering a service client when one request it with lazy reason.

the following is a conversation in IM between me and a developer from my client.

{ background: part of my project involves providing a RESTful web service in JSON for several lists of reference data }

client: hi i received ur email about the jason web services
me: (ok, jason is a male's name, and JSON is the format.)
client: but a got a 404 when i tried http://xxx.xxx.xxx.xxx:8080/JSONXxxService/getXxxxList
me: it is /YYYY_SERVER/JSONXxxService/getXxxxList, if you have read my mail carefully.
client: actually, i tried that too, got a 405 instead.
me: well, did you tried that in your browser?
client: yes, haha
me: as i have mentioned in the mail, it only supports POST.
client: oooooo, i just figure it out.

(a while later...)

client: would you help to get the full set of those lists since it needs some time to develop the client.
me: what lists?
client: all of them.

I would be willing to help, indeed, if I have your salary too.

2 comments:

  1. what i like the most is,
    "IT ONLY SUPPORTS POST!~"

    =)

    ReplyDelete
  2. "POST的不試了, GET的試不了."

    ReplyDelete