Forum Discussion
Irule for HTTP webservice Fastconnect and header
hi guys.
I need help to create a Irule for HTTP.
I need to read the header from webservice Fastconnect, with the header.
the header id this:
1459196823
227$ORDER:NESuscripcionProducto
$ORIGEN:FCTCAP
$QMOVIL:145919682
$CACTUACION:PS
$SUBCACTUACION:343
$STATUSAA:A
$SUBSTATUSAA:1
$BMONTOAJUSTEBASE:0
$BMONTOAJUSTEEXP:-5
$BMONTORENTABASE:null
$BMONTORENTAEXP:null
$DIACICLO:14/12/2013T00:00:00
$:
I need to send to a determinated pool depending on the last number for this sentence 145919682<
If the number finishes in 0,2,4,6,8 send to pool Pool_XXX and if the number finishes in 1,3,5,7,9 send to another pool Poll_YYY
Is this posible?
thaks for your help.
2 Replies
- Kevin_Stewart
Employee
A little confusing. What is the name of the header? What could its value be? And does it occur in every request?
- Johann_Araujo
Nimbostratus
Hi Kevin.
This is the request sent from the client to the F5.
this occurs in every request with diferent number :
I need read the header with the number.
1459196823
227$ORDER:NESuscripcionProducto
$ORIGEN:FCTCAP
$QMOVIL:145919682
$CACTUACION:PS
$SUBCACTUACION:343
$STATUSAA:A
$SUBSTATUSAA:1
$BMONTOAJUSTEBASE:0
$BMONTOAJUSTEEXP:-5
$BMONTORENTABASE:null
$BMONTORENTAEXP:null
$DIACICLO:14/12/2013T00:00:00
$:
in the header is the parameter this number change in every request
145919682Thank you.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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