P
Peter Judge
Guest
Basically you need to cheat a little (and add/and remove the body). httpClient = ClientBuilder:Build():Client. emptyReq = RequestBuilder
ost( ' http://httpbin.org/post' , String : Empty ()) : Request . // Remove the entity (since there's a bug preventing it from being used) emptyReq:Entity = ?. // Remove the auto-added ContentType value (from the RequestBuilder call) emptyReq:RemoveHeader( 'Content-Type' ). resp = httpClient: Execute (emptyReq). Full code at github.com/.../post_empty_message.p
Continue reading...
Continue reading...