Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 

ECP requests failing

My dog apparently likes to eat roku remotes, and we have been unable to get the roku remote app to work on iphone or android.

Anyway, I decided to try out the ECP apis, but I am only getting a 403 back from our roku for all requests. Am I missing something?

~ ❯ curl http://192.168.1.153:8060/keypress/Home -X GET -d '' --verbose    
*   Trying 192.168.1.153...
* Connected to 192.168.1.153 (192.168.1.153) port 8060 (#0)
> GET /keypress/Home HTTP/1.1
> Host: 192.168.1.153:8060
> User-Agent: curl/7.47.0
> Accept: */*
> Content-Length: 0
> Content-Type: application/x-www-form-urlencoded

< HTTP/1.1 403 Forbidden
< Server: Roku UPnP/1.0 MiniUPnPd/1.4
< Content-Length: 0
* HTTP error before end of send, stop sending

* Closing connection 0


We have a TCL 55S405 with the roku built in. We have verizon fios using their verizon wifi router. I am making the requests from my laptop on the same wifi connection as the tv. aaaa halp :[ Is it possible to disable ECP from the gui? (this is something I may have done lol)
0 Kudos
1 Reply
Roku Employee
Roku Employee

Re: ECP requests failing

Lose the "-X GET", commands should be POST-ed
0 Kudos