Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
Showing results for 
Show  only  | 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 -X GET -d '' --verbose    
*   Trying
* Connected to ( port 8060 (#0)
> GET /keypress/Home HTTP/1.1
> Host:
> 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
Roku Guru

Re: ECP requests failing

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