I'm a new to Magento API. Tried this: https://stackoverflow.com/questions/40734545/how-to-get-product-info-using-rest-api-in-magento but all I'm getting is a blank page. Can anyone help or advice what should I do ?


In the meantime I worked on it a bit and found that to make it work oauth php extension is required (so installed it). Now I 'm getting a login screen which is a promising sign :)

SOAP is working fine. Need REST example.

  • Did you solve your issue? How did you install oAuth in server? @ Rob D. A.
    – zus
    Oct 26, 2018 at 6:51

1 Answer 1


The answer you referenced was straight from the horse's mouth, so it should work. Everything else is environment related.

Enable php error printing to find out the cause of your blank page. My guess is that you may just have something like "OAuth" php module not installed on your server. If that does not work, always use xDebug (or another one that let's you walk line by line in your code) to debug your code. If you are serious about php development at all, this is the first thing you will configure after you install your server. Do not waste your time working without a debugger.

  • Thanks mate, I did, and finally I managed to make it work. For now can only read data but soon will check add/update procedures.
    – Rob D. A.
    Dec 27, 2017 at 8:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.