详细介绍
Home
Archive
About
Contact
February 20, 2014
metadata
Post a Comment
How to debug REST/JSON services
March 21, 2012
cURL to the rescue
curl -X POST -d '{"session_id":"2399024390","title":"This is my title","comment_text":"Some text"}' http://example.com/api/method
What about posting files?
php -r 'file_put_contents("json.txt", json_encode(array("session_id" => "3d6e4871170d4c1c2d91a18264904587b2c8ee0d","image_caption" => "This is an image","sender_email" => "[email protected]","sender" => "My nick", "image_base64" => base64_encode(file_get_contents("gmail.png")))));'
curl -X POST -d @json.txt http://example.com/gallery/api/image/post
Uncategorized
4 Comments
Minimal HTML5 iPad Offline Cache Test
October 3, 2011
http://dev.bybjorn.com/ipadoffline/
Testing the demo
Click the icon and it should look like this:
Troubleshooting – what if it does not work
If the demo page does not work for you, try upgrading your iPad software. I was running 4.2.2 and had problems getting offline caching to work but after upgrading to 4.3.5 everything worked perfectly.
If the demo works, but it does not work when you upload on your own server, it might be that the .htaccess does not work on your server so that the cache.manifest file isn’t getting sent to the browser with the “text/manifest” mime-type. Try out the manifest validator.
Uncategorized
2 Comments
Older Entries
猜你喜欢
- IndoorFitness - 电脑网络 > 网络营销
- 淘七七返现试用中心-首页 - 电脑网络 > 网络营销
- Tech Blizz - 电脑网络 > 网络营销
- a blog by Chr - 电脑网络 > 网络营销
- Blog Oh Blog - 电脑网络 > 网络营销
- Philaahzophy - 电脑网络 > 网络营销
- 厦门人才网,厦门人才,厦门 - 电脑网络 > 网络营销
- 北京北大青鸟计算机网络工程 - 电脑网络 > 网络营销
- 南昌北大青鸟首页_江西北大 - 电脑网络 > 网络营销
- 南京北大青鸟协同校区-10 - 电脑网络 > 网络营销
- Home - Stacey - 电脑网络 > 网络营销
- Puppet Kaos - - 电脑网络 > 网络营销
- masonworld.co - 电脑网络 > 网络营销
- Politicalblog - 电脑网络 > 网络营销
- Pro Blog Desi - 电脑网络 > 网络营销
- Comics Should - 电脑网络 > 网络营销
- webServerInfo - 电脑网络 > 网络营销
- WordPress - 电脑网络 > 网络营销
- MrsGrapevine. - 电脑网络 > 网络营销
- Red's Ra - 电脑网络 > 网络营销