eXtreme Development

curl - autenticacao oauth 2.0 no Vimeo

geraldo.netto@NETTO-NB ~ $ curl -i -H "Accept: application/vnd.vimeo.*+json; version=3.2" -H "Authorization:Bearer 6047450378fbe5e9d9c75dd09aecde64" -H "Content-type: application/json" -X GET https://api.vimeo.com/me/videos HTTP/1.1 200 OK Server: nginx Content-Type: application/vnd.vimeo.video+json Last-Modified: Sat, 05 Dec 2015 22:47:06 -0500 Cache-Control: no-cache, max-age=315360000 Strict-Transport-Security: max-age=15120000; includeSubDomains Expires: Wed, 03 Dec 2025 03:47:15 GMT Via: 1.1 varnish Fastly-Debug-Digest: 671da88c3ec81bbd101a0bb851a90184165c1f4f3599229b0eb782c555e41ae7 Content-Length: 214 Accept-Ranges: bytes Date: Sun, 06 Dec 2015 03:47:15 GMT Via: 1.1 varnish Age: 0 Connection: keep-alive X-Served-By: cache-iad2133-IAD, cache-jfk1020-JFK X-Cache: MISS, MISS X-Cache-Hits: 0, 0 X-Timer: S1449373635.631309,VS0,VE27 Vary: Accept,Vimeo-Client-Id,Accept-Encoding

{ "total": 0, "page": 1, "per_page": 25, "paging": { "next": null, "previous": null, "first": "/me/videos?page=1", "last": "/me/videos?page=1" }, "data": [] }



SourceForge BootStrap