How to create and use REST API for mobile app? The 2019 Stack Overflow Developer Survey Results Are InGetting 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
Why does the nucleus not repel itself?
How do you keep chess fun when your opponent constantly beats you?
What is the most efficient way to store a numeric range?
Are spiders unable to hurt humans, especially very small spiders?
Keeping a retro style to sci-fi spaceships?
Geography at the pixel level
Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?
Are there any other methods to apply to solving simultaneous equations?
How do PCB vias affect signal quality?
Ubuntu Server install with full GUI
Loose spokes after only a few rides
How to type a long/em dash `—`
Why doesn't UInt have a toDouble()?
Is it possible for absolutely everyone to attain enlightenment?
I am an eight letter word. What am I?
How to translate "being like"?
Does adding complexity mean a more secure cipher?
What is the motivation for a law requiring 2 parties to consent for recording a conversation
Why was M87 targeted for the Event Horizon Telescope instead of Sagittarius A*?
What do I do when my TA workload is more than expected?
Worn-tile Scrabble
Correct punctuation for showing a character's confusion
How did passengers keep warm on sail ships?
Accepted by European university, rejected by all American ones I applied to? Possible reasons?
How to create and use REST API for mobile app?
The 2019 Stack Overflow Developer Survey Results Are InGetting 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;
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
add a comment |
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
add a comment |
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
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
magento-1.9 rest
edited Aug 2 '17 at 10:36
Jai
3,59083163
3,59083163
asked Aug 2 '17 at 10:26
Gowri ShankarGowri Shankar
8610
8610
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
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
add a comment |
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
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
add a comment |
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
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
answered Aug 2 '17 at 10:52
rafal-kosrafal-kos
552214
552214
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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