yocontra / nodecast

Node interface to DIAL/RAMP/ChromeCast
MIT License
162 stars 23 forks source link

ChromeCast not launching apps #6

Closed yocontra closed 6 years ago

yocontra commented 11 years ago

Previously the lib was getting a 400 because some headers were wrong. This has been fixed but now we get a 201 and an empty body which usually means the app has been launched but nothing seems to happen. Trying to mess with this from a REST client always yields a 404.

This works:

curl http://192.168.1.120:8008/apps/YouTube -X POST -d 'v=j6N4vQ6m360'
yocontra commented 11 years ago

Working CURL wireshark:

POST /apps/YouTube HTTP/1.1
User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8x zlib/1.2.5
Host: 192.168.1.120:8008
Accept: */*
Content-Length: 13
Content-Type: application/x-www-form-urlencoded

v=j6N4vQ6m360

Response:

HTTP/1.1 201 Created
Location: http://192.168.1.120:8008/apps/YouTube/web-2
Content-Length: 0
thatguydan commented 10 years ago

+1

yocontra commented 6 years ago

Will be fixed in next release

yocontra commented 6 years ago

Just published 0.0.11 - if anyone still has issues LMK and I'll reopen.