Questions tagged [http-request]

HTTP Request is a message within a request/response sequence, according to HTTP specification. May also refer an HttpRequest class in software frameworks and libraries that automates relevant functionality

23 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
386 views

Serve merged CSS from one url

When I merge CSS it creates 3 merged files, and they are served separately as such <link rel="stylesheet" type="text/css" href="xyz.com/media/css_secure/32733c3332436554dae7e8f320cd2308.css" /> ...
3
votes
0answers
859 views

Magento2 NodeJS: SOAP or REST API?

Does anyone know a good module that can use HTTP VERBS like POST and PUT ?. I tried this one magento2 but only managed to use GET and DELETE ... Hope someone has a few ideas !
2
votes
0answers
141 views

Magento 2 Build Xml Request For External API

I would need to pass request payload in XML format for a web service. Below is the code I tried. How do I verify & view XML is constructed properly? Is there a better Magento way to create an ...
2
votes
2answers
902 views

Magento 2 Observer not called due to caching?

Intention I am trying to get an affiliate extension to work. The basic concept is that a customer calls the shop-page with a get parameter that is the id of the affiliate partner. The ID will be ...
1
vote
0answers
41 views

Magento 2: How to use form key parameter in GET request?

I'm using magento 2.3.4 and i tried to generate a delete cart item like this in phtml file: <?php $formKey = $this->helper('Vendore\Module\Helper\Data')->getFormKey() ?> <a ...
1
vote
1answer
251 views

Disable\Remove Custom Product Attribute

When I do a GET request on a product, M2 returns some custom attributes that I have no interest in, such as 'is_recurring'. Is it possible to 'disable' a custom attribute so it does not appear in ...
1
vote
0answers
758 views

Magento : Calling SOAP API on Local Server Returning HTTP Bad Request

I created SOAP API on my magento website and it's working correctly on live server. But now I need to using those API in another server machine at local environment (local machine with IIS7) and for ...
1
vote
0answers
574 views

Magento 2 .htaccses configuration for HTTP get request

I try to get list of modules to localhost with angularJS 2 After i check all code possibilities on angularJS 2 - i need some help with configuration. HTTP GET request with AngularJS 2: import { ...
1
vote
0answers
47 views

htaccess redirect, assist please

What i am trying to do is rewrite some URLs and apply SSL on certaing pages on my site. This is the code that i have: RewriteEngine on RewriteBase / RewriteRule ^mylogin$ index.php?view=...
1
vote
0answers
66 views

Restrict a controller HTTP Request by Cutomer email and password?

I had a similar question before, but I want to re-structure otherwise now. I want to make something like http://icecat.biz/ In that site, I can access to XMLs with products datasheets, making a HTTP ...
1
vote
0answers
252 views

Search result leads to page not found

The issue is that sometimes, searching for something leads to page not found. This seems to happen randomly with different search queries and layered filters, I haven't been able to reproduce it but I ...
0
votes
0answers
10 views

How to get admin bearer token with ZendClientFactory?

I am developing my custom module in Magento 2.3.5 with a cron job that should make http request via api rest. I have also added a log file to the cron to help me develop it. Inside the cron I need to ...
0
votes
1answer
245 views

Magento 2.2 Make fewer HTTP requests

I Checked my website in the gtmetrix and i got one of the following suggestion This page has 95 external Javascript scripts. Try combining them into one. This page has 6 external stylesheets....
0
votes
1answer
34 views

Send http post-request when order invoiced

I want magento 1.9 to send an http post to a webhook for every invoice created. Is there any model or easy modification to do this ?
0
votes
0answers
291 views

site - is currently unable to handle this request Http error Magento 1.9

This page isn’t working www.abc.com.au is currently unable to handle this request. HTTP ERROR 500. In this site we use Magento 1.9
0
votes
1answer
37 views

Set up Controller for AJAX

I am currently developing a new module for my company on Magento 2.1.8. The module requires the use of AJAX on the front end to send a receive data. This is what i currently have in one of my ...
0
votes
0answers
2k views

GET headers in file_get_contents()

To use API i have to send proper request. API documentation says that to receive information send request like this: GET https://www.stuller.com/api/v1/products?SKU=IOLITE-GEN:117417:G HTTP/1.1 ...
0
votes
1answer
127 views

trying to write media to another server

i am trying to write media to another server is it possible: i have 2 servers i need to put my magento code on 1st server and want all media on another server when we upload images of catalog, how ...
0
votes
1answer
406 views

Redirect all https requests to http except for checkout

I want to redirect all https requests to http on frontend except for checkout. I am using nginx as my web service. Please let me know how can I do this.
0
votes
1answer
156 views

Magento Shipping Method

I have created a custom shipping method in Magento but my question how i can call a request from external gateway and read XML data in Magento shipping method .
0
votes
1answer
135 views

http is not working but https does in magento with https enabled

I am trying to open website on http:// and getting No data received ERR_EMPTY_RESPONSE but with https:// it works. please help me.
0
votes
1answer
43 views

URL-param for tags?

is there a chance to get (only) all products assigned to a tag by a URL-request like it is done with the request url.com?q=mysearch Like, if I had a tag "mysearch" assigned to 23 products and one ...
0
votes
1answer
84 views

getRequest from another action in Magento

I'm considering that is there any chance to getRequest from another action in Magento. For example, I have an action called registerAction() which is the action I submit data from my form to. I have ...