cancel
Showing results for 
Search instead for 
Did you mean: 

Removing ID at the end of Get Request from Magento 2

Removing ID at the end of Get Request from Magento 2

Hi,

 

I have written a custom html script which is saved in a custom block and displayed on a product page, which is a GET request and fetches the data from a node service on another service, 

when the request is sent , Magento is adding a Number which im not sure why is it adding, it is not the cache version or the SID(&_=1567760378803).

https://test.test.eu/api/getProducts?&type=101&height=5&unit=1002&breadth=3&length=10&_=156776037880....

error invalid code.PNG