How to creator a custom router in pwa magento 2.3.1How to use PWA in Magento2?Magento2 : How to Create custom theme in PWA StudioHow to change URL of PWA in Magento 2.3?Magento PWA: issue in starting development serverMagento2 : How to call background image in PWAStatic Block stylesheet is not applied in PWAMagento 2.3.1 | Continuously Redirecting To Homepage & Getting “Invalid Form Key. Please refresh the page” ErrorPWA Store Deployment on server - DevelopmentHow to setup PWA in magento 2.3.1?Magento 2.3.1 modals-wrapper causing errors

How (un)safe is it to ride barefoot?

What is the logic behind charging tax _in the form of money_ for owning property when the property does not produce money?

How can I remove material from this wood beam?

Grandpa has another non math question

The origin of the Russian proverb about two hares

Was planting UN flag on Moon ever discussed?

Remove border lines of SRTM tiles rendered as hillshade

Cathode rays and the cathode rays tube

How to avoid typing 'git' at the begining of every Git command

Assigning function to function pointer, const argument correctness?

A Salute to Poetry

What are the unintended or dangerous consequences of allowing spells that target and damage creatures to also target and damage objects?

Can I use 220v outlets on a 15 amp breaker and wire it up as 110v?

Trying to get (more) accurate readings from thermistor (electronics, math, and code inside)

The significance of kelvin as a unit of absolute temperature

How can powerful telekinesis avoid violating Newton's 3rd Law?

Is Lambda Calculus purely syntactic?

Why is long-term living in Almost-Earth causing severe health problems?

Does putting salt first make it easier for attacker to bruteforce the hash?

As easy as Three, Two, One... How fast can you go from Five to Four?

Does a (nice) centerless group always have a centerless profinite completion?

YA book about blind creatures that live underground and take kid's eyes

Print "N NE E SE S SW W NW"

Is Dumbledore a human lie detector?



How to creator a custom router in pwa magento 2.3.1


How to use PWA in Magento2?Magento2 : How to Create custom theme in PWA StudioHow to change URL of PWA in Magento 2.3?Magento PWA: issue in starting development serverMagento2 : How to call background image in PWAStatic Block stylesheet is not applied in PWAMagento 2.3.1 | Continuously Redirecting To Homepage & Getting “Invalid Form Key. Please refresh the page” ErrorPWA Store Deployment on server - DevelopmentHow to setup PWA in magento 2.3.1?Magento 2.3.1 modals-wrapper causing errors






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








1















I want to create a custom router in pwa.



I want to create blogs url. ( website.com/blogs )



so I can show all blogs list here.



Is anyone have an idea about this?










share|improve this question






























    1















    I want to create a custom router in pwa.



    I want to create blogs url. ( website.com/blogs )



    so I can show all blogs list here.



    Is anyone have an idea about this?










    share|improve this question


























      1












      1








      1








      I want to create a custom router in pwa.



      I want to create blogs url. ( website.com/blogs )



      so I can show all blogs list here.



      Is anyone have an idea about this?










      share|improve this question
















      I want to create a custom router in pwa.



      I want to create blogs url. ( website.com/blogs )



      so I can show all blogs list here.



      Is anyone have an idea about this?







      magento2.3.1 pwa






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 4 at 12:00









      Rutvee Sojitra

      2,1401422




      2,1401422










      asked Jun 4 at 11:59









      Surendra Kumar AhirSurendra Kumar Ahir

      9071819




      9071819




















          1 Answer
          1






          active

          oldest

          votes


















          0














          Refer : https://devdocs.magento.com/guides/v2.3/extension-dev-guide/webapi/custom-routes.html



          <services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_WebapiAsync:etc/webapi_async.xsd">
          <route url="V1/widgets" method="POST" alias="createWidget" />
          <route url="async/bulk/V1/widget" method="PUT" alias="asyncBulkUpdateWidgets"/>
          .........
          </services>


          This example redefines two routes:



          All requests made on endpoint POST /createWidget will be forwarded to POST V1/widgets
          All requests made on endpoint PUT /asyncBulkUpdateWidgets will be forwarded to PUT async/bulk/V1/widget



          Thanks!!






          share|improve this answer























            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%2f277221%2fhow-to-creator-a-custom-router-in-pwa-magento-2-3-1%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














            Refer : https://devdocs.magento.com/guides/v2.3/extension-dev-guide/webapi/custom-routes.html



            <services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_WebapiAsync:etc/webapi_async.xsd">
            <route url="V1/widgets" method="POST" alias="createWidget" />
            <route url="async/bulk/V1/widget" method="PUT" alias="asyncBulkUpdateWidgets"/>
            .........
            </services>


            This example redefines two routes:



            All requests made on endpoint POST /createWidget will be forwarded to POST V1/widgets
            All requests made on endpoint PUT /asyncBulkUpdateWidgets will be forwarded to PUT async/bulk/V1/widget



            Thanks!!






            share|improve this answer



























              0














              Refer : https://devdocs.magento.com/guides/v2.3/extension-dev-guide/webapi/custom-routes.html



              <services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_WebapiAsync:etc/webapi_async.xsd">
              <route url="V1/widgets" method="POST" alias="createWidget" />
              <route url="async/bulk/V1/widget" method="PUT" alias="asyncBulkUpdateWidgets"/>
              .........
              </services>


              This example redefines two routes:



              All requests made on endpoint POST /createWidget will be forwarded to POST V1/widgets
              All requests made on endpoint PUT /asyncBulkUpdateWidgets will be forwarded to PUT async/bulk/V1/widget



              Thanks!!






              share|improve this answer

























                0












                0








                0







                Refer : https://devdocs.magento.com/guides/v2.3/extension-dev-guide/webapi/custom-routes.html



                <services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_WebapiAsync:etc/webapi_async.xsd">
                <route url="V1/widgets" method="POST" alias="createWidget" />
                <route url="async/bulk/V1/widget" method="PUT" alias="asyncBulkUpdateWidgets"/>
                .........
                </services>


                This example redefines two routes:



                All requests made on endpoint POST /createWidget will be forwarded to POST V1/widgets
                All requests made on endpoint PUT /asyncBulkUpdateWidgets will be forwarded to PUT async/bulk/V1/widget



                Thanks!!






                share|improve this answer













                Refer : https://devdocs.magento.com/guides/v2.3/extension-dev-guide/webapi/custom-routes.html



                <services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_WebapiAsync:etc/webapi_async.xsd">
                <route url="V1/widgets" method="POST" alias="createWidget" />
                <route url="async/bulk/V1/widget" method="PUT" alias="asyncBulkUpdateWidgets"/>
                .........
                </services>


                This example redefines two routes:



                All requests made on endpoint POST /createWidget will be forwarded to POST V1/widgets
                All requests made on endpoint PUT /asyncBulkUpdateWidgets will be forwarded to PUT async/bulk/V1/widget



                Thanks!!







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 2 days ago









                oscprofessionalsoscprofessionals

                37417




                37417



























                    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%2f277221%2fhow-to-creator-a-custom-router-in-pwa-magento-2-3-1%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

                    Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                    Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

                    Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?