- This topic has 2 replies, 2 voices, and was last updated 4 years, 6 months ago by .
Viewing 2 reply threads
Viewing 2 reply threads
- You must be logged in to reply to this topic.
Hi,
I'm creating a service and I'm using the HTTP service Post event, and I have a doubt about how to get the request body. Help Please.
Hi,
Check point 5 in this blog post: https://components4developers.blog/2018/07/07/rest-easy-with-kbmmw-15-handling-http-post/
Basically the RequestStream property contains the full unparsed body. You can use various ways to get it parsed.
/Kim
Hi,
<span class="Y2IQFc" lang="en">Thank you for the informations. More needed to get the body of the TkbmMWEventHTTPService service, find out in an example. body.Text := TkbmMWPlatformMarshal.Memory2String(RequestStream.Memory,RequestStream.Size); Thank you!</span>