Magento2 pass json data format in call to external serviceHow to get json of products/storeConfig by making a request with an url?Creating a custom module to send order details to external supplier API via XML or JSONMagento 2: how to get json posted data in payment methodMagento2: How to convert JSON to Array of nested objectsMagento 2: How to create a custom api and get post json?Jquery post request returning htmlMagento2: Web service Call POST methodPass data from plugin to frontendMagento2, How to pass product data as query string in Url using JSON template? Custom ModuleHow to pass a json data from Observer to phtml

Understanding the as-if rule, "the program was executed as written"

Does an NPC know when a character has passed the save for Truth Serum?

What's the idiomatic (or best) way to trim surrounding whitespace from a string?

Disk usage confusion: 10G missing on Linux home partition on SSD

Is it theoretically possible to hack printer using scanner tray?

Is it OK to throw pebbles and stones in streams, waterfalls, ponds, etc.?

Do electrons really perform instantaneous quantum leaps?

Does friction always oppose motion?

Why did the Apple IIe make a hideous noise if you inserted the disk upside down?

Avoiding repetition when using the "snprintf idiom" to write text

Active wildlife outside the window- Good or Bad for Cat psychology?

Tricolour nonogram

Why didn't Caesar move against Sextus Pompey immediately after Munda?

Simplify the code

Installed software from source, how to say yum not to install it from package?

I agreed to cancel a long-planned vacation (with travel costs) due to project deadlines, but now the timeline has all changed again

How far can gerrymandering go?

iMac 2019: Can I mix the old modules with the new ones when upgrading RAM?

What is the meaning of "it" in "as luck would have it"?

Why do movie directors use brown tint on Mexico cities?

Could you fall off a planet if it was being accelerated by engines?

How useful would a hydroelectric power plant be in the post-apocalypse world?

Two palindromes are not enough

What does 'in attendance' mean on an England death certificate?



Magento2 pass json data format in call to external service


How to get json of products/storeConfig by making a request with an url?Creating a custom module to send order details to external supplier API via XML or JSONMagento 2: how to get json posted data in payment methodMagento2: How to convert JSON to Array of nested objectsMagento 2: How to create a custom api and get post json?Jquery post request returning htmlMagento2: Web service Call POST methodPass data from plugin to frontendMagento2, How to pass product data as query string in Url using JSON template? Custom ModuleHow to pass a json data from Observer to phtml













0















Currently I'm referencing this article to post data to external services in a form data format. Some of the external services require in json format. How should I do it if I want to pass json format data into the setParameterPost method?










share|improve this question









New contributor



WenHao is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    0















    Currently I'm referencing this article to post data to external services in a form data format. Some of the external services require in json format. How should I do it if I want to pass json format data into the setParameterPost method?










    share|improve this question









    New contributor



    WenHao is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      0












      0








      0








      Currently I'm referencing this article to post data to external services in a form data format. Some of the external services require in json format. How should I do it if I want to pass json format data into the setParameterPost method?










      share|improve this question









      New contributor



      WenHao is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      Currently I'm referencing this article to post data to external services in a form data format. Some of the external services require in json format. How should I do it if I want to pass json format data into the setParameterPost method?







      magento2 api json external






      share|improve this question









      New contributor



      WenHao is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question









      New contributor



      WenHao is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question








      edited Jun 24 at 0:39









      Anas Mansuri

      61515 bronze badges




      61515 bronze badges






      New contributor



      WenHao is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked Jun 23 at 13:53









      WenHaoWenHao

      1012 bronze badges




      1012 bronze badges




      New contributor



      WenHao is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      WenHao is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          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
          );



          );






          WenHao is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f279294%2fmagento2-pass-json-data-format-in-call-to-external-service%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








          WenHao is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          WenHao is a new contributor. Be nice, and check out our Code of Conduct.












          WenHao is a new contributor. Be nice, and check out our Code of Conduct.











          WenHao is a new contributor. Be nice, and check out our Code of Conduct.














          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%2f279294%2fmagento2-pass-json-data-format-in-call-to-external-service%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?