Hi Guys,
I am facing the same problem even if I set content type as text/html. below is my json script
PHP Code:
begin
update image_gallary set picture = :body where image_id = :v_image_id;
:success := 'true';
end;
It throws me below error as:
- Uncaught Ext.Error: You're trying to decode an invalid JSON String: <pre style="word-wrap: break-word; white-space: pre-wrap;">{"success":"true"}</pre>
?Please let me know how to resolve this. One more thing is that it store image at server place but may be return response is wrongly interpreted. But not getting clue how to solve this . I am not getting message alert of success.