cancel
Showing results for 
Search instead for 
Did you mean: 

Magento RestAPI not working

Magento RestAPI not working

Hi i tried using Magento Rest Api which is available in Github folder

https://github.com/nickvane/Magento-RestApi

when i try to CreateNewProducts function it shows an error in 

 request.AddBody(product);

Null reference error!! Kindly help me out this to solve using c#

my magento URL is: http://www.partsclick.com/api/rest/products

Thanks in advance

Ajith

1 REPLY 1

Re: Magento RestAPI not working

Hi @MagentoAPI,

 

Maybe your URL should be:

 

http://www.partsclick.com/rest/V1/products

Instead of:

http://www.partsclick.com/api/rest/products