Monday, March 12, 2012

REST Client for Firefox

Found this recently and think this is a great plugin to test web services before writing code. Quite flexible with letting you create requests and I've used it against different services already.

https://addons.mozilla.org/en-US/firefox/addon/restclient/

Typepad Recent Blogs API

Simple non-authenticated call to get Recent blog posts as JSON -

http://api.typepad.com/blogs/{BLOG_ID}/post-assets/@published/@recent.json?max-results={N}

{BLOG_ID} - The unique identifier for the blog. You can get this by loading the blog in the web browser and looking at the source code. The id is part of the RSS HTML element.

{N} - Number of results to return

@recent.json can be changed to @recent.js to get the JSON data wrapped in a Javascript callback(...) function

For more details on their API - http://www.typepad.com/services/apidocs

Int size on Apple Watch (watchOS)

  Even though Apple Watch chipset is 64-bits, Int is still 32-bit. To get 64 bit behavior you have to explicitly use Int64 https:// jeffver...