HTTPSecureSocket Put

  1. last week

    Tom I

    Sep 9 Pre-Release Testers, Xojo Pro Chicago, IL
    Edited last week

    I know HTTPSecureSocket are deprecated but is there a proper way to do a put? Can't find it in the docs and can't search for "put" on here because it's 3 characters and doesn't show up in the first page of search results.

  2. Norman P

    Sep 9 Pre-Release Testers, Xojo Pro great-white-software.com/blog

    URLConnection.Send("Put", url) would seem to work

  3. Tom I

    Sep 9 Pre-Release Testers, Xojo Pro Chicago, IL

    I'm working in an older project that uses HTTPSecureSocket. The options for that seem to only be Get or Post. IS there any way to do a Put using HTTPSecureSocket?

  4. Norman P

    Sep 9 Pre-Release Testers, Xojo Pro great-white-software.com/blog

    Oh
    It wasnt apparent to me you werent using a version of Xojo where URLConnection was possible
    I dont know that you have an option as I'm not sure you could replace the POST http header with a PUT one

  5. Vigia L

    Sep 9 Pre-Release Testers, Xojo Pro
    Edited last week

    You can try

    Dim myHttp as New HTTPSecureSocket
    Dim strRet as String = myHttp.SendRequest("PUT", url,2)
  6. Tanner L

    is not verified Sep 9 Pre-Release Testers Toronto, Canada

    Looks like a working example here: https://forum.xojo.com/18890-http-put-string-data-for-update/0

or Sign Up to reply!