Ios 在swift项目中使用Mojento rest api的过程

Ios 在swift项目中使用Mojento rest api的过程,ios,swift,magento,Ios,Swift,Magento,我正在研究Majento2WebAPI,我不知道如何使用洋红WebAPI,所以请帮助我在iOS项目中实现post和get洋红web服务。我喜欢处理这种形式的数据:- { "items": [ { "id": 1, "sku": "521609", "name": "BUDWEISER 36 CAN ", "attribute_set_id": 4, "price": 72.5, "status": 1, "visibility": 4, "type_id": "

我正在研究Majento2WebAPI,我不知道如何使用洋红WebAPI,所以请帮助我在iOS项目中实现post和get洋红web服务。我喜欢处理这种形式的数据:-

{
"items": [
 {
  "id": 1,
  "sku": "521609",
  "name": "BUDWEISER 36 CAN ",
  "attribute_set_id": 4,
  "price": 72.5,
  "status": 1,
  "visibility": 4,
  "type_id": "simple",
  "created_at": "2018-11-17 18:36:26",
  "updated_at": "2018-11-18 16:01:45",
  "product_links": [],
  "tier_prices": [],
  "custom_attributes": [
   {
   "attribute_code": "meta_title",
   "value": "BUDWEISER 36 CAN "
   },

我刚刚开始开发一个开源应用程序,它可能对使用Magento应用程序的人有用