Magento – Magento 2: how to send POST request to REST API

apimagento2rest

I am struggling with POST REST API's in Magento 2 as I am quite new to it.
If possible, can anyone provide me one example for POST like creation of product or add to cart using oAuth and admin account, please help me.

Thanks in Advance

Best Answer

Look at how to get admin token, and check out available web API endpoints documentation (pay attention to catalogProductRepositoryV1).

Related Topic