Forum Stats

  • 3,837,271 Users
  • 2,262,245 Discussions
  • 7,900,244 Comments

Discussions

How to read request body through ICS Object or httpServletRequest in CSElement.

3607075
3607075 Member Posts: 10
edited Dec 6, 2019 4:34AM in WebCenter Sites

Hi Team,

We have exposed the one CSElement as controller. i am accessing this as below url. Just i wanted to read request body through ICS Object or using httpServletRequest.

Please let me know how to do this. Here i am able to access form-data and query params. but i want to read request body as well.

Actually my requirement is to read a file which is coming in request body.

it is working fine when i am using form-data. but one of our internal application tool doesn't have support to send a form type data.

http://localhost:7003/sites/Satellite?pagename=CCH/Controller/Application/CVAction

pastedImage_3.png

Thank You,

Santosh Gajjala

Answers