Ever wondered if that that GUID you're about to use has already been consumed?
No.
Well you should. Check the twitter feed - twitter.com/UsedGuid, and start reporting your usage of GUIDs. It's the right thing to do.
Throw away those old paper based systems.
Nick's complete post on this.
http://usedguids.apphb.com/api/UsedGuid
- Supply the guid you would like to use/reserve.
- Get a response
- Either
- 200 ok, you're set.
- 4xx, 5xx something went wrong, see the response message.
curl http://usedguids.apphb.com/api/UsedGuid \
-d Guid="64b798cb-1013-48bb-8f30-474e35fbba7a" \
-d UsedBy="CurlTest" \
ASP.NET Web API on AppHarbor, TweetSharp Nuget package
Header:
Content-Type: application/json; charset=utf-8
X-Requested-With: XMLHttpRequest
Host: usedguids.apphb.com
Request Body:
{ "Guid":"64b798cb-1013-48bb-8f30-474e35fbba7a" , "UsedBy":"Your Name" }
$.ajax({
type: 'POST',
dataType: 'json',
contentType: 'application/json; charset=utf-8',
url: 'http://usedguids.apphb.com/api/UsedGuid',
data: JSON.stringify({ Guid: '*your_guid*', UsedBy: '*your_name*' })
});