2018年3月12日星期一

Magento开发教程 - Magento 2使用REST API

Magento 2的REST API定义了一组函数,开发人员可以使用执行请求和接收响应。使用HTTP协议执行这些交互。
调用者发出HTTP请求,其中包含以下元素:
  • 提供认证和其他指令的HTTP头
  • GET, POST, PUT, 或DELETE中的一种
  • 一个端点,它是一个统一的资源指示器(URI),它标识服务器、Web服务和正在执行的资源。
  • 调用有效载荷,这是一组输入参数和属性,您提供的请求。
Magento返回响应的有效载荷以及一个HTTP状态代码。
本指南介绍了 web API, REST,和 cURL 命令的概。它向您展示如何验证和构建和运行REST web API调用。 您运行REST Web API调用通过 cURL 命令 或 REST 客户端。
相关文章:

2 条评论:

  1. Do you need to increase your credit score?
    Do you intend to upgrade your school grade?
    Do you want to hack your cheating spouse Email, whatsapp, Facebook, instagram or any social network?
    Do you need any information concerning any database.
    Do you need to retrieve deleted files?
    Do you need to clear your criminal records or DMV?
    Do you want to remove any site or link from any blog?
    you should contact this hacker, he is reliable and good at the hack jobs..
    contact : cybergoldenhacker at gmail dot com

    回复删除
  2. I can’t say much but with my experience through divorce, I had no one until I met hackingsetting50@gmail.com online then I contacted him, surprisingly he helped me hack into my partner's phone and all his social media platforms and i can now access everything and even documented and printed stuffs to show as evidence , now I’m happy with my kids and working for Riches. I hope this helps anyone in need.

    Thanks.

    回复删除

注意:只有此博客的成员才能发布评论。

Also Read: