Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

if_http_client->request->set_data passing json string with many parameters

janak_patel
Explorer
0 Likes
2,197

Hi All,

can any one help me to pass multiple parameters Json in if_http_client->request->set_cdata mothod or any other alternative to pass more parameters into body in json format during api call.

call method http_client_usr->request->set_cdata EXPORTING data = lv_body . offset = 0 length = lv_len.

I have issue related to pass many json parameters into string and ...request->set_cdata ( string variable has some limitation ) can anyone guide me alternative solution.

if_http_client->request->set_cdata (....)

T&R

janak patel

Hi All,

can any one help me to pass multiple parameters Json in if_http_client->request->set_cdata mothod or any other alternative to pass more parameters into body in json format during api call.

call method http_client_usr->request->set_cdata EXPORTING data = lv_body . offset = 0 length = lv_len.

I have issue related to pass many json parameters into string and ...request->set_cdata ( string variable has some limitation ) can anyone guide me alternative solution.

if_http_client->request->set_cdata (....)

T&R

janak patel

2 REPLIES 2
Read only

SimoneMilesi
Active Contributor
0 Likes
1,154

It's a while since i used that class, but did you check if method APPEND_FIELD_URL can help you?

Read only

janak_patel
Explorer
0 Likes
1,154

Hi Simone ,

can you share sample code for above method?

T&R

janak patel