Using ThingHTTP to forward POST Request with file and string | ThingSpeak Apps | Forum


Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Using ThingHTTP to forward POST Request with file and string
No permission to create posts
October 12, 2017
12:42 pm
New Member
Forum Posts: 1
Member Since:
October 12, 2017
sp_UserOfflineSmall Offline

Hi All,

   How can I forward the following HTTP POST Request using ThingHTTP?

<span class="pln">POST </span><span class="pun">/</span><span class="pln"> HTTP</span><span class="pun">/</span><span class="lit">1.1</span> <span class="typ">Host</span><span class="pun">:</span><span class="pln"> localhost</span><span class="pun">:</span><span class="lit">8000</span> <span class="com">request_method=POST Content-Type: multipart/form-data; boundary=---------------------------9051914041544843365972754266 Content-Length: 554 -----------------------------9051914041544843365972754266 Content-Disposition: form-data; name="text" text default -----------------------------9051914041544843365972754266 Content-Disposition: form-data; name="file1"; filename="a.txt" Content-Type: text/plain Content of a.txt. -----------------------------9051914041544843365972754266 Content-Disposition: form-data; name="file2"; filename="a.html" Content-Type: text/html &lt;!DOCTYPE html&gt;&lt;title&gt;Content of a.html.&lt;/title&gt; -----------------------------9051914041544843365972754266--</span>
Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online: ziplock9000
34 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 261

Vinod: 196

piajola: 85

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

Newest Members:

EnigmBioge, debbiepe18, MatthewmUb, cathrynww1, Slark, inads11

Administrators: Hans: 387, lee: 457