Just starting out? Need help? Post your questions and find answers here.
ehbarba
 
Posts: 24
Joined: Thu Mar 29, 2018 2:20 am

How can I send long WYSIWYG editor content in HTTPRequest?

by ehbarba Wed Jun 06, 2018 9:57 pm

Hi Spiders

Sending long WYSIWYG editor content as Parameter, causes HTTPRequest failure. Receipt: Success = False.

How can I send long WYSIWYG editor content to my server?

Thanks
User avatar
SparrowhawkMMU
 
Posts: 267
Joined: Wed Aug 19, 2015 3:02 pm
Location: United Kingdom

Re: How can I send long WYSIWYG editor content in HTTPReques

by SparrowhawkMMU Sat Jun 09, 2018 11:08 am

First, try sending headers to specify content-type and content-length . This can help, depending on the API.

Also, be aware that some firewalls get very upset with wysiwyg content, and even certain words. For example the Azure cloud firewall recently introduced a new rule blocking requests with the word "replace" in them. Totally cack-handed bit if thinking from MS, and it broke a production system in use by clients.

Unfortunately SpiderBasic still does not support examining the returned HTTP headers so it's difficult to debug any failures. It's why I've had to temporarily stop using it to build Web UIs. Which is a shame as it's such a nice dev tool.

You could use a network sniffing tool to see what is actually returned. This should give you some clues. Also, if you have access to the server, check the application and we server logs.
User avatar
SparrowhawkMMU
 
Posts: 267
Joined: Wed Aug 19, 2015 3:02 pm
Location: United Kingdom

Re: How can I send long WYSIWYG editor content in HTTPReques

by SparrowhawkMMU Sat Jun 09, 2018 11:10 am

One other thing. If you send long content using HTTP GET , you can fall foul of web server query string size limits.
Return to Coding Questions

Who is online

Users browsing this forum: No registered users and 0 guests