Jump to content

torrent file content not supplied in form parameter


framework

Recommended Posts

Hi guys

I'm struggling to figure out what am I doing wrong. I'm sending a POST request to uTorrent to upload a file but still getting error ( torrent file content not supplied in form parameter).

The request looks like this:


POST http://192.168.2.90:9999/gui/?token=q1CL8zXE-oJMhcQNTUhInAnyqVDOFvIxhHKgPagtdyPM51MazN_gbLm6F1EAAAAA&action=add-file HTTP/1.1
Content-Type: multipart/form-data; boundary=----------------------------
Authorization: Basic emFqZGE6YW5hbmFz
Host: 192.168.2.90:9999
Cookie: GUID=RKJLOYHlqaxG3VPDOP0w
Content-Length: 2293


----------------------------
Content-Disposition: form-data; name="torrent_file"; filename="How.To.Draw.Anime.For.Beginners.torrent"
Content-Type: application/x-bittorent

<file content goes here>
----------------------------

If anyone spotted where's the catch it would be much appreciated.

Thanks

Link to comment
Share on other sites

  • 3 months later...
  • 2 weeks later...

Archived

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

×
×
  • Create New...