Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
12
Task/URL-decoding/ABAP/url-decoding.abap
Normal file
12
Task/URL-decoding/ABAP/url-decoding.abap
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
REPORT Z_DECODE_URL.
|
||||
|
||||
DATA: lv_encoded_url TYPE string VALUE 'http%3A%2F%2Ffoo%20bar%2F',
|
||||
lv_decoded_url TYPE string.
|
||||
|
||||
CALL METHOD CL_HTTP_UTILITY=>UNESCAPE_URL
|
||||
EXPORTING
|
||||
ESCAPED = lv_encoded_url
|
||||
RECEIVING
|
||||
UNESCAPED = lv_decoded_url.
|
||||
|
||||
WRITE: 'Encoded URL: ', lv_encoded_url, /, 'Decoded URL: ', lv_decoded_url.
|
||||
Loading…
Add table
Add a link
Reference in a new issue