2 weeks ago - last edited 2 weeks ago
Dear Experts,
When i Am trying to consume API, i am getting error "invalid Command :action=get"
below is sample api,
http://123.45.678.901:1234/WXYZ/api.svc/v2/attendance-daily?action=get;field-name=userid,username; date-range=01012023-02012023
i am trying to consume via "cl_http_client=>create_by_url",
is it possible to consume api having semicolon(;), or is this problem with wording in api action=get,
are both supported in api, please let me know your insight on this.
Try with %3B instead of ;
data(semicolon_url_escaped) = escape( val = ';'
format = cl_abap_format=>e_uri ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.