This topic is now archived and is closed to further replies.


Add torrent file problem

Recommended Posts

I've read this topic and trying to make a POST request ("/gui/?action=add-file") to add a file but it keeps responding to me with "invalid request" or just "error". Can anyone give me an example of valid POST request that adds a file?

(I've seen this, but it didn't helped cause I don't know curl and barely know PHP)

Solved. "Content-Type" and "Content-Length" values were passed as "content-length" and "content-type" and utorrent apparently uses case-sensitive search on HTTP headers

Share this post

Link to post
Share on other sites