How to create and use REST API for mobile app?Getting started with Magento REST APIExtending Magento REST Api with a custom module fails on routeUsing Magento API(REST) via IXMLHTTPRequest COM ObjectHow to retrieve products from magento REST API?Magento REST API: Invalid webservice adapter specifiedMagento2: creating custom search REST APIRestricting access to anonymous web APIsREST API Access Token IssuesCreate a multi-language REST API's in Magento 2Request doesn't match any route

Can a planet have a different gravitational pull depending on its location in orbit around its sun?

Patience, young "Padovan"

How can I add custom success page

Denied boarding due to overcrowding, Sparpreis ticket. What are my rights?

Some basic questions on halt and move in Turing machines

How many letters suffice to construct words with no repetition?

Piano - What is the notation for a double stop where both notes in the double stop are different lengths?

What does "enim et" mean?

Crop image to path created in TikZ?

Are cabin dividers used to "hide" the flex of the airplane?

COUNT(id) or MAX(id) - which is faster?

Why was the "bread communication" in the arena of Catching Fire left out in the movie?

Extreme, but not acceptable situation and I can't start the work tomorrow morning

Manga about a female worker who got dragged into another world together with this high school girl and she was just told she's not needed anymore

What does 'script /dev/null' do?

What is GPS' 19 year rollover and does it present a cybersecurity issue?

New order #4: World

Lied on resume at previous job

If a centaur druid Wild Shapes into a Giant Elk, do their Charge features stack?

Ideas for colorfully and clearly highlighting graph edges according to weights

Latin words with no plurals in English

Prime joint compound before latex paint?

Can I legally use front facing blue light in the UK?

Could Giant Ground Sloths have been a Good Pack Animal for the Ancient Mayans



How to create and use REST API for mobile app?


Getting started with Magento REST APIExtending Magento REST Api with a custom module fails on routeUsing Magento API(REST) via IXMLHTTPRequest COM ObjectHow to retrieve products from magento REST API?Magento REST API: Invalid webservice adapter specifiedMagento2: creating custom search REST APIRestricting access to anonymous web APIsREST API Access Token IssuesCreate a multi-language REST API's in Magento 2Request doesn't match any route






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















Am totally new to the magento and API's. I have gone through the Magento Rest Api Documentation.



I have created roles and users for rest api but in the documentation it is like http://magentohost/api/rest/. I have changed my domain in the place of magentohost and given but it is showing like:




Request does not match any route




Whether any code have to add to the link? How to do this.



Can anyone give me the clear idea?










share|improve this question
















bumped to the homepage by Community 10 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.





















    1















    Am totally new to the magento and API's. I have gone through the Magento Rest Api Documentation.



    I have created roles and users for rest api but in the documentation it is like http://magentohost/api/rest/. I have changed my domain in the place of magentohost and given but it is showing like:




    Request does not match any route




    Whether any code have to add to the link? How to do this.



    Can anyone give me the clear idea?










    share|improve this question
















    bumped to the homepage by Community 10 hours ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















      1












      1








      1








      Am totally new to the magento and API's. I have gone through the Magento Rest Api Documentation.



      I have created roles and users for rest api but in the documentation it is like http://magentohost/api/rest/. I have changed my domain in the place of magentohost and given but it is showing like:




      Request does not match any route




      Whether any code have to add to the link? How to do this.



      Can anyone give me the clear idea?










      share|improve this question
















      Am totally new to the magento and API's. I have gone through the Magento Rest Api Documentation.



      I have created roles and users for rest api but in the documentation it is like http://magentohost/api/rest/. I have changed my domain in the place of magentohost and given but it is showing like:




      Request does not match any route




      Whether any code have to add to the link? How to do this.



      Can anyone give me the clear idea?







      magento-1.9 rest






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 2 '17 at 10:36









      Jai

      3,59083163




      3,59083163










      asked Aug 2 '17 at 10:26









      Gowri ShankarGowri Shankar

      8610




      8610





      bumped to the homepage by Community 10 hours ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 10 hours ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          URL api/rest is only endpoint. To get specific data you have to add action URL.



          For example to fetch customers you have to call :



          HTTP GET mydomain/api/rest/customers



          Example here : http://devdocs.magento.com/guides/m1x/api/rest/Resources/resource_customers.html






          share|improve this answer























          • Simply giving mydomain_name/api/rest/consumer is enough or else Whether I need add any code or module in our file?

            – Gowri Shankar
            Aug 2 '17 at 10:58











          • Hard to say. Maybe add some example code in your question?

            – rafal-kos
            Aug 2 '17 at 10:59











          • I will explain clearly. I didn't add any code or module to generate rest api key. Simply I did Rest-Roles and changed the resources as All for Guest and same for Rest-Atributes. After doing this, I have given the url mydomain_name/api/rest/consumer. But its showing only "<magento_api/>". Whether I need to use any code?

            – Gowri Shankar
            Aug 2 '17 at 11:13











          • Have u got cleared with my ques?

            – Gowri Shankar
            Aug 2 '17 at 11:19











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "479"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f187518%2fhow-to-create-and-use-rest-api-for-mobile-app%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          URL api/rest is only endpoint. To get specific data you have to add action URL.



          For example to fetch customers you have to call :



          HTTP GET mydomain/api/rest/customers



          Example here : http://devdocs.magento.com/guides/m1x/api/rest/Resources/resource_customers.html






          share|improve this answer























          • Simply giving mydomain_name/api/rest/consumer is enough or else Whether I need add any code or module in our file?

            – Gowri Shankar
            Aug 2 '17 at 10:58











          • Hard to say. Maybe add some example code in your question?

            – rafal-kos
            Aug 2 '17 at 10:59











          • I will explain clearly. I didn't add any code or module to generate rest api key. Simply I did Rest-Roles and changed the resources as All for Guest and same for Rest-Atributes. After doing this, I have given the url mydomain_name/api/rest/consumer. But its showing only "<magento_api/>". Whether I need to use any code?

            – Gowri Shankar
            Aug 2 '17 at 11:13











          • Have u got cleared with my ques?

            – Gowri Shankar
            Aug 2 '17 at 11:19















          0














          URL api/rest is only endpoint. To get specific data you have to add action URL.



          For example to fetch customers you have to call :



          HTTP GET mydomain/api/rest/customers



          Example here : http://devdocs.magento.com/guides/m1x/api/rest/Resources/resource_customers.html






          share|improve this answer























          • Simply giving mydomain_name/api/rest/consumer is enough or else Whether I need add any code or module in our file?

            – Gowri Shankar
            Aug 2 '17 at 10:58











          • Hard to say. Maybe add some example code in your question?

            – rafal-kos
            Aug 2 '17 at 10:59











          • I will explain clearly. I didn't add any code or module to generate rest api key. Simply I did Rest-Roles and changed the resources as All for Guest and same for Rest-Atributes. After doing this, I have given the url mydomain_name/api/rest/consumer. But its showing only "<magento_api/>". Whether I need to use any code?

            – Gowri Shankar
            Aug 2 '17 at 11:13











          • Have u got cleared with my ques?

            – Gowri Shankar
            Aug 2 '17 at 11:19













          0












          0








          0







          URL api/rest is only endpoint. To get specific data you have to add action URL.



          For example to fetch customers you have to call :



          HTTP GET mydomain/api/rest/customers



          Example here : http://devdocs.magento.com/guides/m1x/api/rest/Resources/resource_customers.html






          share|improve this answer













          URL api/rest is only endpoint. To get specific data you have to add action URL.



          For example to fetch customers you have to call :



          HTTP GET mydomain/api/rest/customers



          Example here : http://devdocs.magento.com/guides/m1x/api/rest/Resources/resource_customers.html







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Aug 2 '17 at 10:52









          rafal-kosrafal-kos

          553214




          553214












          • Simply giving mydomain_name/api/rest/consumer is enough or else Whether I need add any code or module in our file?

            – Gowri Shankar
            Aug 2 '17 at 10:58











          • Hard to say. Maybe add some example code in your question?

            – rafal-kos
            Aug 2 '17 at 10:59











          • I will explain clearly. I didn't add any code or module to generate rest api key. Simply I did Rest-Roles and changed the resources as All for Guest and same for Rest-Atributes. After doing this, I have given the url mydomain_name/api/rest/consumer. But its showing only "<magento_api/>". Whether I need to use any code?

            – Gowri Shankar
            Aug 2 '17 at 11:13











          • Have u got cleared with my ques?

            – Gowri Shankar
            Aug 2 '17 at 11:19

















          • Simply giving mydomain_name/api/rest/consumer is enough or else Whether I need add any code or module in our file?

            – Gowri Shankar
            Aug 2 '17 at 10:58











          • Hard to say. Maybe add some example code in your question?

            – rafal-kos
            Aug 2 '17 at 10:59











          • I will explain clearly. I didn't add any code or module to generate rest api key. Simply I did Rest-Roles and changed the resources as All for Guest and same for Rest-Atributes. After doing this, I have given the url mydomain_name/api/rest/consumer. But its showing only "<magento_api/>". Whether I need to use any code?

            – Gowri Shankar
            Aug 2 '17 at 11:13











          • Have u got cleared with my ques?

            – Gowri Shankar
            Aug 2 '17 at 11:19
















          Simply giving mydomain_name/api/rest/consumer is enough or else Whether I need add any code or module in our file?

          – Gowri Shankar
          Aug 2 '17 at 10:58





          Simply giving mydomain_name/api/rest/consumer is enough or else Whether I need add any code or module in our file?

          – Gowri Shankar
          Aug 2 '17 at 10:58













          Hard to say. Maybe add some example code in your question?

          – rafal-kos
          Aug 2 '17 at 10:59





          Hard to say. Maybe add some example code in your question?

          – rafal-kos
          Aug 2 '17 at 10:59













          I will explain clearly. I didn't add any code or module to generate rest api key. Simply I did Rest-Roles and changed the resources as All for Guest and same for Rest-Atributes. After doing this, I have given the url mydomain_name/api/rest/consumer. But its showing only "<magento_api/>". Whether I need to use any code?

          – Gowri Shankar
          Aug 2 '17 at 11:13





          I will explain clearly. I didn't add any code or module to generate rest api key. Simply I did Rest-Roles and changed the resources as All for Guest and same for Rest-Atributes. After doing this, I have given the url mydomain_name/api/rest/consumer. But its showing only "<magento_api/>". Whether I need to use any code?

          – Gowri Shankar
          Aug 2 '17 at 11:13













          Have u got cleared with my ques?

          – Gowri Shankar
          Aug 2 '17 at 11:19





          Have u got cleared with my ques?

          – Gowri Shankar
          Aug 2 '17 at 11:19

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f187518%2fhow-to-create-and-use-rest-api-for-mobile-app%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Best approach to update all entries in a list that is paginated?Best way to add items to a paginated listChoose Your Country: Best Usability approachUpdate list when a user is viewing the list without annoying themWhen would the best day to update your webpage be?What should happen when I add a Row to a paginated, sorted listShould I adopt infinite scrolling or classical pagination?How to show user that page objects automatically updateWhat is the best location to locate the comments section in a list pageBest way to combine filtering and selecting items in a listWhen one of two inputs must be updated to satisfy a consistency criteria, which should you update (if at all)?

          Вунгтау (аеропорт) Загальні відомості | Див. також | Посилання | Навігаційне меню10°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.0833310°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.083337731608Vinh AirportVinh airport facelift improves serviceвиправивши або дописавши їївиправивши або дописавши їїр

          Тонконіг бульбистий Зміст Опис | Поширення | Екологія | Господарське значення | Примітки | Див. також | Література | Джерела | Посилання | Навігаційне меню1114601320038-241116202404kew-435458Poa bulbosaЭлектронный каталог сосудистых растений Азиатской России [Електронний каталог судинних рослин Азіатської Росії]Малышев Л. Л. Дикие родичи культурных растений. Poa bulbosa L. - Мятлик луковичный. [Малишев Л. Л. Дикі родичи культурних рослин. Poa bulbosa L. - Тонконіг бульбистий.]Мятлик (POA) Сем. Злаки (Мятликовые) [Тонконіг (POA) Род. Злаки (Тонконогові)]Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Description from Flora of China) [Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Опис від Флора Китаю)]Poa bulbosa L. – lipnice cibulkatá / lipnica cibulkatáPoa bulbosa в базі даних Poa bulbosa на сайті Poa bulbosa в базі даних «Global Biodiversity Information Facility» (GBIF)Poa bulbosa в базі даних «Euro + Med PlantBase» — інформаційному ресурсі для Євро-середземноморського розмаїття рослинPoa bulbosa L. на сайті «Плантариум»