Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Magento REST API defines a set of functions that a developer can use to perform requests and receive responses. These interactions are performed using the HTTP protocol.
2
votes
Create Custom Rest Api in Magento2 and solution for "InvalidArgumentException" error
@Kandy
i used below code it working fine for me important is dont ignore the comments which is consider as param
<?php
namespace AlanKent\CalculatorWebService\Api;
use AlanKent\CalculatorWebServ …
6
votes
2
answers
10k
views
Create Custom Rest Api in Magento2 and solution for "InvalidArgumentException" error
I started on Magento2 Custom rest API module creation
for that i follow the below post
API Module for Magneto2
url:- http://localhost/magento2a/rest/V1/calculator/add/1/2
app/code/AlanKent/Calcul …
4
votes
how to get mixed or multi array response in rest API magento2
to achieve multi dimension array where key and value are dynamic we can follow below steps but magento discourage this solution if any better solution please let me know
out put
{
"name": "Test Nam …
0
votes
1
answer
772
views
How to Modify core Module webapi.xml in Magento2
Magento 2 Core API to get products in GET method but want to make it POST method .
How to do it and also open API ?
1
vote
How to Modify core Module webapi.xml in Magento2
in Your custom module create webapi.xml in etc folder and paste below code
<route url="/V1/products/lists" method="POST">
<service class="Magento\Catalog\Api\ProductRepositoryInterface" method= …
15
votes
Magento 2 REST API usage with examples
Magento 2 supports REST (Representational State Transfer) and SOAP (Simple Object Access Protocol), much like the old version of Magento we were used to. Official documentation is mostly based on raw …
15
votes
3
answers
33k
views
Magento 2 REST API usage with examples
need to call Magento2 rest api in code level how to call default magento REST APIS
8
votes
4
answers
31k
views
How do I get a response from REST API in JSON format in Magento 2?
I used the resources in “Creating a New REST Web Service in Magento 2” and “Creating a New REST Web Service in Magento 2” to create a custom API module, but the response is in XML format. I need a res …
18
votes
How do I get a response from REST API in JSON format in Magento 2?
Below are the custom api module with key pair value
To get JSON response, in client set Response headers to "Content-Type: application/json; charset=utf-8"
and if you need key pair value that is in r …
4
votes
3
answers
9k
views
how to get mixed or multi array response in rest API magento2
i have my custom api which will return multi dimension array , which will have key pair value, where key and value are dynamic from database in that case how to achieve in rest api of magento2
6
votes
Magento 2 REST API usage with examples
in post man below configuration has to be done