Questions tagged [xmlhttprequest]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
132 views

How to make an HTTP request from a plugin?

I'd like to be able to make HTTP requests from within my plugin to hit an endpoint and get a response. How can I do this?
1
vote
1answer
185 views

Live Preview not loading - https / http conflict

My live preview isn't loading. I'm getting the following error: Mixed Content: The page at 'https://www.site.com/admin/entries/pages/611-title' was loaded over HTTPS, but requested an insecure ...
1
vote
0answers
128 views

XMLHttpRequest Craft Commerce Cart Update Issues

When using XMLHttpRequest to update cart like the following, I get a 500 error for 'lineItems': {[lineitem]: {'qty': value}} (and also {[lineitem]: {'remove': true}}, any other submission works); var ...