Magento 2 : Fresh magento 2 API not working?Magento : Soap api not workingHow can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento2 product list API not workingCustom REST Api Magento 1.9 not workingMagento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2 default Rest API not working?

If stationary points and minima are equivalent, then the function is convex?

What's preferable: to count Sefiras Haomer right at nightfall by oneself OR to count later with a Ma'ariv minyan?

Why do only some White Walkers shatter into ice chips?

What is the name of this hexagon/pentagon polyhedron?

I have a unique character that I'm having a problem writing. He's a virus!

Building a list of products from the elements in another list

Can there be a single technologically advanced nation, in a continent full of non-technologically advanced nations?

How important is people skills in academic career and applications?

As matter approaches a black hole, does it speed up?

Why do people keep telling me that I am a bad photographer?

How do I overfit?

What is the most remote airport from the center of the city it supposedly serves?

Can you complete the sequence?

Missing Piece of Pie - Can you find it?

Why do we use hermite interpolation for finite element method in beams?

Expressing 'our' for objects belonging to our apartment

Why Isn’t SQL More Refactorable?

What is the difference between 反日 and 日本たたき?

How long would it take for people to notice a mass disappearance?

Have I damaged my car by attempting to reverse with hand/park brake up?

Pressure inside an infinite ocean?

Shantae Dance Matching

Can my company stop me from working overtime?

Can a nothic's Weird Insight action discover secrets about a player character that the character doesn't know about themselves?



Magento 2 : Fresh magento 2 API not working?


Magento : Soap api not workingHow can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento2 product list API not workingCustom REST Api Magento 1.9 not workingMagento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2 default Rest API not working?






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








0















I have installed fresh magento 2 and when I hit API of anything it doesn't work for me.



Check this url : visit here



It seems like an permission issue and I can't figure out what? If anyone having knows about this, please let me know.



EDIT :



routes.xml

<?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd">
<router id="standard"> <route id="mobileapp" frontName="mobileapp">
<module name="Vendor_App" />
</route> </router>
</config>

webapi.xml

<?xml version="1.0"?>
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Webapi:etc/webapi.xsd">
<route method="POST" url="/V1/signin/">
<service class="VendorAppApiLoginManagementInterface" method="setSignin"/>
<resources>
<resource ref="anonymous" />
</resources>
</route>
</routes>









share|improve this question
























  • which API you want to access ?

    – Kishan Patadia
    Apr 29 at 6:27











  • If I rename mywebapi xml then it shows as 404 and am accessing custom api

    – Prathap Gunasekaran
    Apr 29 at 6:41






  • 1





    @Aaditya updated

    – Prathap Gunasekaran
    2 days ago






  • 1





    <preference for="CommerceshopMobileAppApiLoginManagementInterface" type="CommerceshopMobileAppModelLoginManagement"/>

    – Aaditya
    2 days ago






  • 1





    It there already mate @Aaditya

    – Prathap Gunasekaran
    2 days ago

















0















I have installed fresh magento 2 and when I hit API of anything it doesn't work for me.



Check this url : visit here



It seems like an permission issue and I can't figure out what? If anyone having knows about this, please let me know.



EDIT :



routes.xml

<?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd">
<router id="standard"> <route id="mobileapp" frontName="mobileapp">
<module name="Vendor_App" />
</route> </router>
</config>

webapi.xml

<?xml version="1.0"?>
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Webapi:etc/webapi.xsd">
<route method="POST" url="/V1/signin/">
<service class="VendorAppApiLoginManagementInterface" method="setSignin"/>
<resources>
<resource ref="anonymous" />
</resources>
</route>
</routes>









share|improve this question
























  • which API you want to access ?

    – Kishan Patadia
    Apr 29 at 6:27











  • If I rename mywebapi xml then it shows as 404 and am accessing custom api

    – Prathap Gunasekaran
    Apr 29 at 6:41






  • 1





    @Aaditya updated

    – Prathap Gunasekaran
    2 days ago






  • 1





    <preference for="CommerceshopMobileAppApiLoginManagementInterface" type="CommerceshopMobileAppModelLoginManagement"/>

    – Aaditya
    2 days ago






  • 1





    It there already mate @Aaditya

    – Prathap Gunasekaran
    2 days ago













0












0








0








I have installed fresh magento 2 and when I hit API of anything it doesn't work for me.



Check this url : visit here



It seems like an permission issue and I can't figure out what? If anyone having knows about this, please let me know.



EDIT :



routes.xml

<?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd">
<router id="standard"> <route id="mobileapp" frontName="mobileapp">
<module name="Vendor_App" />
</route> </router>
</config>

webapi.xml

<?xml version="1.0"?>
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Webapi:etc/webapi.xsd">
<route method="POST" url="/V1/signin/">
<service class="VendorAppApiLoginManagementInterface" method="setSignin"/>
<resources>
<resource ref="anonymous" />
</resources>
</route>
</routes>









share|improve this question
















I have installed fresh magento 2 and when I hit API of anything it doesn't work for me.



Check this url : visit here



It seems like an permission issue and I can't figure out what? If anyone having knows about this, please let me know.



EDIT :



routes.xml

<?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd">
<router id="standard"> <route id="mobileapp" frontName="mobileapp">
<module name="Vendor_App" />
</route> </router>
</config>

webapi.xml

<?xml version="1.0"?>
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Webapi:etc/webapi.xsd">
<route method="POST" url="/V1/signin/">
<service class="VendorAppApiLoginManagementInterface" method="setSignin"/>
<resources>
<resource ref="anonymous" />
</resources>
</route>
</routes>






magento2 api rest-api






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago







Prathap Gunasekaran

















asked Apr 29 at 6:08









Prathap GunasekaranPrathap Gunasekaran

2,1191619




2,1191619












  • which API you want to access ?

    – Kishan Patadia
    Apr 29 at 6:27











  • If I rename mywebapi xml then it shows as 404 and am accessing custom api

    – Prathap Gunasekaran
    Apr 29 at 6:41






  • 1





    @Aaditya updated

    – Prathap Gunasekaran
    2 days ago






  • 1





    <preference for="CommerceshopMobileAppApiLoginManagementInterface" type="CommerceshopMobileAppModelLoginManagement"/>

    – Aaditya
    2 days ago






  • 1





    It there already mate @Aaditya

    – Prathap Gunasekaran
    2 days ago

















  • which API you want to access ?

    – Kishan Patadia
    Apr 29 at 6:27











  • If I rename mywebapi xml then it shows as 404 and am accessing custom api

    – Prathap Gunasekaran
    Apr 29 at 6:41






  • 1





    @Aaditya updated

    – Prathap Gunasekaran
    2 days ago






  • 1





    <preference for="CommerceshopMobileAppApiLoginManagementInterface" type="CommerceshopMobileAppModelLoginManagement"/>

    – Aaditya
    2 days ago






  • 1





    It there already mate @Aaditya

    – Prathap Gunasekaran
    2 days ago
















which API you want to access ?

– Kishan Patadia
Apr 29 at 6:27





which API you want to access ?

– Kishan Patadia
Apr 29 at 6:27













If I rename mywebapi xml then it shows as 404 and am accessing custom api

– Prathap Gunasekaran
Apr 29 at 6:41





If I rename mywebapi xml then it shows as 404 and am accessing custom api

– Prathap Gunasekaran
Apr 29 at 6:41




1




1





@Aaditya updated

– Prathap Gunasekaran
2 days ago





@Aaditya updated

– Prathap Gunasekaran
2 days ago




1




1





<preference for="CommerceshopMobileAppApiLoginManagementInterface" type="CommerceshopMobileAppModelLoginManagement"/>

– Aaditya
2 days ago





<preference for="CommerceshopMobileAppApiLoginManagementInterface" type="CommerceshopMobileAppModelLoginManagement"/>

– Aaditya
2 days ago




1




1





It there already mate @Aaditya

– Prathap Gunasekaran
2 days ago





It there already mate @Aaditya

– Prathap Gunasekaran
2 days ago










0






active

oldest

votes












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%2f272748%2fmagento-2-fresh-magento-2-api-not-working%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















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%2f272748%2fmagento-2-fresh-magento-2-api-not-working%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

Grendel Contents Story Scholarship Depictions Notes References Navigation menu10.1093/notesj/gjn112Berserkeree

Log in Navigation menu

Invalid response line returned from server: HTTP/2 401 | ErrorPlease Please Help With Error 500 Internal Server Error after upgrading from 1.7 to 1.9Unable to place new customer orders in admin backendMagento - For “Manage Categories” Forbidden You do not have permission to access this documentHTTP ERROR 500 when using require(_once) app/Mage.phpMemcached causing Web Setup Wizard ErrorCould not create an acl object: Invalid XMLAn error occurred on the server. Please try to place the order againInvalid response line returned from server: HTTP/2 200 - message after update to 2.1.7Magento-CE 2.3.0 installation error on XamppMagento 2.2.6- After Migration all default Payment Methods are not working fine