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

          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