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

                    Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

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

                    Magento 2.3: How do i solve this, Not registered handle, on custom form?How 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?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form