but we have set the headers to type to application...
# suitescript
r
but we have set the headers to type to application/json.. i dont understand why is this stuff showing
w
Can you show some code on how you return the data and how the data looks?
r
this is the object
Untitled.txt
and i am pushing the data like this...
the thing is i have other files too ..but they are not creating this problem but when i include HTML in my code like i have shown it shows issue
did you understand what i am trying to say?
w
I don't see any suitelet code?
The issue was that the content-type wasn't set in the serverResponse.
r
yes got that ...setheader