‎2007 Jul 09 3:18 PM
Hello!
Is there some ready-made standard function or method to break HTTP request to command and parameters?
For example, if I pass string like <i>http://somedomain/someapp/?get&par1=x&par2=y</i>
I would get parameter "command" with value "get" and internal table with 2 fields: name and value, filled with 2 rows: one for "par1" and its value "x", and another for "par2" with value "y".
Dont' waste too much time on this and don't send code - it's easy to program. I just wonder is there something standard, so that I use as much standard functions as possible.
Thanks and regards,
Igor
‎2007 Jul 10 12:58 PM
if its in the context of using with cl_http_client then you can use http_client->request->IF_HTTP_ENTITY~GET_FORM_FIELDS method to get them into itab.
‎2007 Jul 10 12:58 PM
if its in the context of using with cl_http_client then you can use http_client->request->IF_HTTP_ENTITY~GET_FORM_FIELDS method to get them into itab.
‎2007 Jul 16 2:29 PM