Below is the example code get from LazadaOP:
Create function in ProductsController:
So I just try to run this but it shows the error with invalid request format.
I just want to know what is the problem with the code, and if there some solution plz do provide some code to references.TQ