REST Webservice handling images June 20, 2022 12:56PM |
Registered: 2 years ago Posts: 38 |
Re: REST Webservice handling images June 20, 2022 03:20PM |
Admin Registered: 5 years ago Posts: 19 |
LOCAL sREST is restRequest sRESTResponse is restResponse sREST..URL = "[httpbin.org]; sREST..UserAgent="" sREST..User="usernamehere" sREST..Password="passwordhere" sREST..Method=httpPost sREST..ContentType="application/x-www-form-urlencoded" sREST..Content=sPOSTListen sRESTResponse = RESTSend(sREST)
Re: REST Webservice handling images June 21, 2022 08:12AM |
Registered: 3 years ago Posts: 107 |
Re: REST Webservice handling images June 21, 2022 12:01PM |
Registered: 5 years ago Posts: 192 |
stPhotoRequest.sPhotoBase64 = Encode(bufPhoto,encodeBASE64URL) stPhotoRequest.someotherinfo = ... stPhotoRequest.someotherinfo = ... Serialize(stPhotoRequest,sRequest,psdJSON) HTTPRequest(sServer, "", "", sRequest, "application/octet-stream")BTW: that is in WM-Android
bufData = PageParameter(paramBuffer) Deserialize(stPhotoRequest,bufData,psdJSON) bufPhoto = Decode(stPhotoRequest.sPhotoBase64,encodeBASE64URL)
Re: REST Webservice handling images June 21, 2022 12:08PM |
Registered: 5 years ago Posts: 192 |
Re: REST Webservice handling images June 21, 2022 01:30PM |
Registered: 3 years ago Posts: 107 |