[progress Communities] [progress Openedge Abl] Forum Post: Re: Trouble With...

  • Thread starter Thread starter Peter Judge
  • Start date Start date
Status
Not open for further replies.
P

Peter Judge

Guest
Basically you need to cheat a little (and add/and remove the body). httpClient = ClientBuilder:Build():Client. emptyReq = RequestBuilder:Post( ' 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...
 
Status
Not open for further replies.
Back
Top