3 ms·
Check that.. I wanted to use js to submit to my own web service, but forgot about the cross-domain issues, so I just used console.log to output the data. I sup
by epoxyhockey 15y ago
Check that.. I wanted to use js to submit to my own web service, but forgot about the cross-domain issues, so I just used console.log to output the data. I suppose I could have used the iframe querystring parameter trick.
- easp 15y agoHmmm, seems like something you could have worked around by running phantom.js against a proxy that intercepted and rerouted requests to the data collection server.
- zackzackzack 15y agoIt's hella slow but there is always this: https://github.com/sgentle/phantomjs-node https://github.com/sgentle/phantomjs-node
- uptown 15y ago"I suppose I could have used the iframe querystring parameter trick." How's that work? Pass whatever data you want to process with your web service as URL parameters to the web service src URL of your iframe and it circumvents cross-site-scripting protections?