Bjørn Børresen | Softwar www.bybjorn.com

Bjørn Børresen | Softwar

站名: Bjørn Børresen | Softwar

网址: http://www.bybjorn.com

目录: 电脑网络 > 网络营销

PR:

Alexa: 1,343,390

备案号:

服务器IP: 104.28.18.106   北美地区

描述: Software Developer

查询: [ 网站综合查询 | PR查询 | Alexa排名 | 同IP网站 ]

详细介绍

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

猜你喜欢