Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTTP SendPUT
#1
I'm looking through the reference documentation on the SendPUT.

Code:
SendPUT
(
    [In]    MEng.System.Runtime.URL URL
    , [In]  MEng.Card4 WaitFor
    , [In]  MEng.String Agent
    , [In]  MEng.String Accept
    , [Out] MEng.String RepText
    , [Out] MEng.System.Runtime.HTTPClient.LinesList OutHdrLines
    , [InOu MEng.String ContType
    , [InOu MEng.System.Runtime.MemBuf Content
    , [InOu MEng.Card4 ContLen
    , [In]  MEng.Boolean OutBody
    , [In]  MEng.System.Runtime.HTTPClient.LinesList InHdrLines
)   Returns MEng.Card4;

I'm guessing the MEng.System.Runtime.MemBuf is the Body of the message (outbound) for the PUT?  This is a memory buffer and I was looking at the docs for that.  I'm not sure what would be correct for adding a JSON string to this.  Anyone know?  I'm trying to write a Macro to send a PUT to the Hue bridge to turn on/off Hue groups.
Reply


Messages In This Thread
HTTP SendPUT - by simplextech - 01-21-2020, 10:43 AM
RE: HTTP SendPUT - by simplextech - 01-21-2020, 11:43 AM
RE: HTTP SendPUT - by Dean Roddey - 01-21-2020, 02:22 PM
RE: HTTP SendPUT - by simplextech - 01-21-2020, 03:05 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Get Field Value via HTTP znelbok 3 1,207 06-11-2020, 03:43 PM
Last Post: Dean Roddey
  HTTP Trigger and Parameters znelbok 1 945 06-11-2020, 03:41 PM
Last Post: Dean Roddey
  CQC HTTP Events? bjkiller 26 8,632 01-11-2020, 07:27 AM
Last Post: simplextech
  Set value via HTTP Call simplextech 2 1,206 01-07-2020, 04:39 PM
Last Post: simplextech
  HTTP Trigger Driver - see trained URL's? Shaky 1 1,660 09-15-2019, 12:25 PM
Last Post: Dean Roddey
  HTTP Get driver not working znelbok 10 5,283 08-28-2018, 10:10 AM
Last Post: Dean Roddey
  Http Post zra 17 6,986 08-05-2018, 01:55 PM
Last Post: zra
  HTTP Post zra 7 3,467 05-18-2018, 08:47 AM
Last Post: zra
  IFTT and HTTP Trigger parameter passing setup Shaky 5 4,522 03-09-2018, 10:20 PM
Last Post: Dean Roddey
  SSL certificate for HTTP trigger driver RichardU 7 4,225 01-16-2018, 09:50 AM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)