Forum Discussion
Pradeep_Kandala
Nimbostratus
Nov 24, 2012IRULE adding get or post
Hi,
I have to add a 6kb variable in post or get method of the url and forward the request.
Can you help or show an example.
Thanks a lot in advance,
Pradeep
14 Replies
- What_Lies_Bene1
Cirrostratus
Every POST and GET? At the end of the URL? - Pradeep_Kandala
Nimbostratus
yes, I have to add in post - What_Lies_Bene1
Cirrostratus
OK, so every single POST, not GETs? At the end of the URL? Please clarify. - Pradeep_Kandala
Nimbostratus
Let me tell my situation more clearly,
1. when my irule gets saml requests, It contains the xml comes as post request.
2. I save the saml XML in a two cookie(as the size is big).
3. do 302 redirection for and with same url (NO XML now)
4. do the renegotiation add cert subject in header, done.
5. I have to add the XMl back to the post and forward the request.
now rest all I have done, the 5th point is the issue. - What_Lies_Bene1
Cirrostratus
OK. So if this is all within one connection and the client is still sending a POST it shouldn't be a problem. Can we just save the POST data at 2) and then completely overwrite the POST request at 5)? - Pradeep_Kandala
Nimbostratus
at 5 its a plain redirection done by us only, (client not involved) and need to add post data.
info: Its a working code (without post kind of data) - nitass
Employee
i think client may create a new connection on step 3 (redirection). you mentioned saving xml to cookies on step 2. how do you get the xml in the cookies on step 5?
Steve, sorry i got your message but was very busy on another stuff. by the way, i cannot reply your message. i got bounced back to devcentral home page when clicking at reply. - Pradeep_Kandala
Nimbostratus
Hey, that simple using [HTTP::cookie XMLCookie1]
but I need to add these cookie data as post (or get) and forward the request, If you understood my problem give me the example,
to solve. it.
or forget about cookie,
I simple need to add some junk data in post and forward the request, please give example.
Thanks
Pradeep - nitass
Employee
i am not familiar with saml. if you can post example of header and payload in each step, it might be easier to suggest.
- What_Lies_Bene1
Cirrostratus
nitass, understood, I know what it's like. You can email me at ... if necessary.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects