Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [request]

The tag has no usage guidance.

0
votes
2answers
26 views

Magento 2.3: How To Get The Primary Key From URL…?

I'm very new to Magneto 2.3, I'm trying to get the primary key from URL, this is my code: This is my import button, on click of this button, a function hit. /app/code/EC/Customimport/view/adminhtml/...
2
votes
4answers
82 views

Magento 2.3.0 How to get request parameters in event observer?

I would like to get a request parameter in the observer file. Below is the observer code. etc/frontend/di.xml <event name="review_save_before"> <observer name="set_customer_data" ...
1
vote
0answers
41 views

Magento 2 Issue with JavaScript and CSS Merge

I have checked my site for speed and it was requesting 258 requests. I have merged all JavaScript and CSS files and again tested it but still 251 requests are there. While in view page source I can'...
2
votes
1answer
25 views

Magento 2 Make GET Request url to rewrite acceptable

For example I have this url which makes get Request and renders block with specific collection by Id. mainpage.com/products?some_category=99 Since Magento 2 Url Rewrites only accept /params/...
2
votes
2answers
83 views

Magento2 filter not working for request parameter for order grid

I want to filter Sales Order query based on request parameter passed in querystring like following: http://127.0.0.1/website/admin/sales/order/index/key/...
0
votes
0answers
19 views

Adminhtml form how to post and save image data

Trying to customize my module a bit but I'm stuck. My custom form won't send any information about attached images or files, regardless of what I'm doing it just does not send anything except text, ...
0
votes
1answer
263 views

Calling bin/magento return an exception

I have a Magento 2.3.0 website that works correctly but suddenly (maybe after a products import, but also other various activities were done) when I try to call ANY (reindex, deploy...) command of "...
0
votes
1answer
41 views

request sql bad with invalid quote

We are trying to migrate our code from magento 1.7 to 1.9 and I have an issue when i build a request with magento 1.9. I wrote this for a column on the order grid : $this->addColumn('id_po', ...
1
vote
0answers
163 views

WebAPI gives error: Class “array” does not exist

I want to send a list of statuses to my API. I send an array because it may be a lot of statuses. So my JSON looks like: { "statuses":[ "status_ok", "status_failed", "...
0
votes
1answer
392 views

Magento 2.2.4 : post data in url

I want to get parameters from my page to the second. My values are submitted in the first page, but I can't achieve to get data on my second page (where I want to display theses data). I'm trying this ...
0
votes
1answer
69 views

Magento 2: Where does the _request- parameter> getParam ( 'sort')?

I have a problem with an extension and it is that it returns the SAP data sorted in ascending order and I need them in descending order. The list is obtained from a helper that passes as a parameter ...
1
vote
2answers
39 views

Parameters through url

I'm trying go get parameters from my submitted form (my form is devided in two parts). When I submit my first form, my page go to the second part (on the right view). But I'm stuck here. I have that : ...
3
votes
3answers
3k views

How to set Post Value of Request

I have already know how to get the POST value of Request. I used to use this code below to get the value: $this->getRequest()->getPostValue(); But how can I set the value of POST. Something ...
4
votes
1answer
48 views

Page not found while trying access controller with parameter in url

i created a simple controller like this: namespace Namespace\Module\Controller\Confirm; class Index extends \Magento\Framework\App\Action\Action { protected $resultPageFactory; public ...
7
votes
3answers
2k views

How to send data from html template to controller magento 2

My controller is calling but how to send data and retrieve data? My template: <!-- ko --> <tr class="totals fee excl"> <th class="mark" colspan="1" scope="row" data-bind="text: ...
0
votes
1answer
127 views

Seeing duplicate cookie response headers

When looking at the request headers for my Magento 1 site I can see it has 2 cookie request headers. Set-Cookie:frontend=3dt1aedashghghg1vr9ua0tghms7; expires=Fri, 20-Oct-2017 07:52:20 GMT; Max-Age=...
0
votes
2answers
244 views

Fix magento 1.9 installation error “Invalid backend name []”

When we install Magento 1.9 it shows: There has been an error processing your request Invalid backend name. How do i fix this?
1
vote
0answers
200 views

Saving form data in configuration observer in Magento 2

I have a field in store configuration that has a select per store that contains a language setting. I've also written an observer that fires when this section of store configuration is saved. However ...
0
votes
1answer
397 views

Magento Ajax request - again

My AjaxController class AMBit_Product_AjaxController extends Mage_Core_Controller_Front_Action{ public function getdataAction(){ echo 'PRODUCTS IN THIS CATEGORY'; ...
2
votes
1answer
2k views

Magento 2 : How to get request and send response in custom REST API?

I have created a custom API i need to know how can i get request and response using this custom API ? I use this link to create custom API : http://inchoo.net/magento/api-magento/magento-2-custom-api/...
2
votes
1answer
174 views

How can i bulk ADD URL Rewrite Management

How can i add bulk URL Rewrite Management, i need to migrate new website, but i have already promoted my old site products, so, after i change new site, old site url return blank page, or empty page. ...
-1
votes
2answers
111 views

How can i get Details from Database and Display to my Customized Page

I need to get details from database, **Actually am installed extension form builder**, i get details from that, and get that details from database and display into my customized page, like name, user ...
5
votes
0answers
121 views

How to send custom request to authorize with Direct Post in Magento2?

I want to capture some amount other than order manually from authorize. How to create manually request? And How to sent request to authorize with Direct Post method in Magento2.