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 |
An application programming interface (API) specifies how some software components should interact with each other.
1
vote
1
answer
320
views
Turn API Return to Object PHP
My API returns a JSON that I would like to transform into a PHP object so that I can find a specific field in return. how can I do this? … My get
public function teste()
{
$requestUrl='http://XXXXXX:XXX/api/login';
$users = array("wts-authorization: XXX/XXx","content-type: application/json","accept: application/json");
$ch = …
0
votes
Accepted
Turn API Return to Object PHP
Solved this way
public function testeDeBanco()
{
$objectManager = \Magento\Framework\App\ObjectManager::getInstance(); // Instance of object manager
$resource = $objectManager->get('Mage …
1
vote
2
answers
78
views
Product image by ftp url
I need to pass an url of an ftp to be the product image by the magento api, can I do this? … Something like
{
"attribute_code": "image",
"value": "https://upload.wikimedia.org/wikipedia/commons/5/5c/Alan-Walker-_Faded.jpg"
}
I found the api to pass the image but …