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
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
New contributor
add a comment |
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
New contributor
add a comment |
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
New contributor
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
magento2 api json external
New contributor
New contributor
edited Jun 24 at 0:39
Anas Mansuri
61515 bronze badges
61515 bronze badges
New contributor
asked Jun 23 at 13:53
WenHaoWenHao
1012 bronze badges
1012 bronze badges
New contributor
New contributor
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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