Magento-RestApi icon indicating copy to clipboard operation
Magento-RestApi copied to clipboard

Important question

Open DoubleDim opened this issue 8 years ago • 2 comments

Does this api works with Magento Community Edition v2? Coz im trying to connect with my demostore on localhost but i keep getting: "Unable to load admin page: 'http://localhost/magento/admin_erfitc'" exception. Here is my code:

private void btnRead_Click(object sender, EventArgs e) { var client = new MagentoApi() .SetCustomAdminUrlPart("admin_erfitc") .Initialize("http://localhost/magento", "ConsumerKey", "ConsumerSecret") .AuthenticateAdmin("username", "password"); //writing my admin panel login info

magec

DoubleDim avatar Feb 21 '17 14:02 DoubleDim

I tried and unfortunately, it doesn't work, it needs massive modifies to start working because rest api urls and other stuff changed like a lot.

NotAndD avatar Feb 28 '17 16:02 NotAndD

Yes i was worrying about that because i was wasting time trying to figure out what im doin wrong but it seems that it's no more working after v2, thanks for your answer.

DoubleDim avatar Mar 01 '17 09:03 DoubleDim