cancel
Showing results for 
Search instead for 
Did you mean: 

while Consuming External API getting Html Synatx

bandal_amol
Explorer
0 Kudos
234

Hi All ,

I am consuming external API from .Net...

CLEAR LV_RESPONSE.
LV_RESPONSE = lv_HTTP_CLIENT->response->get_cdata( ).

But in lv_response getting data , that is not expected.

SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; } .L0S31 { font-style: italic; color: #808080; } .L0S52 { color: #0000FF; } .L0S55 { color: #800080; } .L0S70 { color: #808080; }

*STEP-6 : Extract Rest-Service-Response

SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; } .L1S33 { color: #009300; }

"RESPONSE" : "\r\n \r\n\r\n<!DOCTYPE html>\r\n<html lang=\"en\">\r\n\r\n<head>\r\n<metacharset=\"utf-8\">\r\n<metahttp-equiv=\"X-UA-Compatible\"content=\"IE=edge\">\r\n<metaname=\"format-detection\"content=\"telephone=no\">\r\n<metacontent='width=device-width,
initial-scale=1.0,
maximum-scale=1.0,

Accepted Solutions (1)

Accepted Solutions (1)

bandal_amol
Explorer
0 Kudos

I expect here , response like below....

{
"response":"Success",
"responseData":{
"response":"Posted successfully"
},
"error":null,
"errorList":[]
}

Answers (0)