LI HttpService URL Encoding
Posted: Wed Jul 28, 2021 1:43 am
Hi all,
i use the HTTPService to call an REST API for sending a SMS. follow the text to sent :
Nom de la société
Bonjour prénom nom ,
Dans le cadre de votre hospitalisation, sachez que nous serons là pour vous !
but when I call 'SEND SERVICE_LIST(W_NAME,W_VALUE) HOST(<adress>) VERSION(1) URI(<API REST>) HANDLER(OutboundNameValue) METHOD(GET)'
the text change to this in the URL
Using uri : <API REST>?to=<phone number>&text=Nom+de+la+soci%E9t%E9%0DBonjour+pr%E9nom+nom%0DDans+le+cadre+de+votre+hospitalisation%2C+sachez+que+nous+seront+l%E0+pour+vous+!
and the final text is :
Nom de la socit
Bonjour prnom nom
Dans le cadre de votre hospitalisation, sachez que nous seront l pour vous !
all accented characters are not included.
I need to send text like this :
&text=Nom de la société%0DBonjour prénom nom%0DDans le cadre de votre hospitalisation, sachez que nous seront là pour vous !
how i can do to avoid url encoding ?
i use the HTTPService to call an REST API for sending a SMS. follow the text to sent :
Nom de la société
Bonjour prénom nom ,
Dans le cadre de votre hospitalisation, sachez que nous serons là pour vous !
but when I call 'SEND SERVICE_LIST(W_NAME,W_VALUE) HOST(<adress>) VERSION(1) URI(<API REST>) HANDLER(OutboundNameValue) METHOD(GET)'
the text change to this in the URL
Using uri : <API REST>?to=<phone number>&text=Nom+de+la+soci%E9t%E9%0DBonjour+pr%E9nom+nom%0DDans+le+cadre+de+votre+hospitalisation%2C+sachez+que+nous+seront+l%E0+pour+vous+!
and the final text is :
Nom de la socit
Bonjour prnom nom
Dans le cadre de votre hospitalisation, sachez que nous seront l pour vous !
all accented characters are not included.
I need to send text like this :
&text=Nom de la société%0DBonjour prénom nom%0DDans le cadre de votre hospitalisation, sachez que nous seront là pour vous !
how i can do to avoid url encoding ?