Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
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
Results tagged with Search options user 37846

An application programming interface (API) specifies how some software components should interact with each other.

2
votes
1answer
Creating (or say extending) an API where customer can login by Facebook/Google so I want get the same token which magento generates (same as if we login normally). Reason is that if I will get that …
asked May 23 '16 by Mohammad Mujassam
1
vote
2answers
I have created many rest Api in magento2 which working perfectly... I have only problem to pass the array in custom rest api... for example I am passing the data in below format from postman … . {"vendor_data":{"name":"Mujassam", "mobile":7777}} It gives me below error: "message": "Class array does not exist", "code": -1, Api interface is as below, /** * return placed order status …
asked Oct 18 '16 by Mohammad Mujassam
4
votes
2answers
I know how to create APIs with GET method, wondering how to create custom REST API with POST Method ??.. I have spend enough time into core module but didn't get anything from there(May be I am not … understanding) so is there anybody who have some Idea about this.. How can we pass & get the confidential data from POST method in REST API ?? …
asked May 20 '16 by Mohammad Mujassam
4
votes
What I understand from you question is, You have only email (and obviously some network specific secret key to validate i.e facebook key). So You just need to load the customer by email id as below. …
answered May 29 '17 by Mohammad Mujassam
0
votes
2answers
I am unable to post multi dimensional array from REST API (POST Method). posting the data in below format. RAW DATA {"customerData":{"name":"Mujassam", "no":"7760"}, "services":[{"product":"mobile … ", "id": "1"}, {"product":"day", "id":"2"}]} Here Services is 2D Array Interface is as below: /** * return placed order status * @api * @param string[] $customerData * @param …
asked Nov 2 '16 by Mohammad Mujassam
1
vote
1answer
I have created many Api's (both GET and POST) but now I want to create the custom search API with different URL Structure (all the params after ?). I can create the search API in below URL formate …
asked Dec 6 '16 by Mohammad Mujassam
1
vote
0answers
I want achieve this kind of url in my custom REST API, Any Suggestion? http://localhost/rest/V1/products?name=mujassam&value=5 Before Also I asked same question Magento2: creating custom search REST API
asked Dec 8 '16 by Mohammad Mujassam
0
votes
(){ $filter = $this->_request->getParam('filter'); } now filter will have the filter parameter value you passed in the API URL.. Hope this will help. …
answered Dec 9 '16 by Mohammad Mujassam
0
votes
There are many tutorials which guides how to create the rest api. you can have a look a these. http://inchoo.net/magento/api-magento/magento-2-custom-api/ https://webkul.com/blog/magento2-custom … -rest-api/ Create Custom Rest Api in Magento2 and solution for "InvalidArgumentException" error There is official magento document for this. http://devdocs.magento.com/guides/v2.0/get-started/bk-get …
answered May 31 '17 by Mohammad Mujassam