I am trying to add a search option on my PHP related website to get the list with detail of the related product on the basis of searched key word. I am doing this for comparison purpose.
I have got the url (https://affiliate-api.flipkart.net/affiliate/search/json?query=XXXX&resultCount=X) from flipkart affiliate panel to hit. But unable to set headers (curl -H "Fk-Affiliate-Id:" -H "Fk-Affiliate-Token:" ).
You have to use below code for getting the product details based on search keyword