Skip to main content

Questions tagged [xmlhttprequest]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6 votes
1 answer
1k 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?
Jake Dohm's user avatar
  • 766
2 votes
1 answer
815 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 ...
artmem's user avatar
  • 1,022
1 vote
0 answers
291 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 ...
Anders's user avatar
  • 652