Hi Sujitha,
Can you check the below code if same ignore.
CALL METHOD cl_http_client=>create_by_url
EXPORTING
url = lv_url_get_post
* proxy_host = gv_proxy_host
* proxy_service = gv_proxy_service
ssl_id = 'ANONYM'
sap_username = ''
sap_client = ''
IMPORTING
client = lo_twt_http_client
EXCEPTIONS
argument_not_found = 1
plugin_not_active = 2
internal_error = 3
OTHERS = 4.
Regards,
Bob.