zoukankan      html  css  js  c++  java
  • request header....

    root@xxx# curl -i --get --include 'http://ali-barcode.showapi.com/barcode?code=6938166920785' -H 'Authorization:APPCODE xxxxxxxxxxx'
    HTTP/1.1 200 OK
    Server: Tengine
    Date: Wed, 18 Jan 2017 07:58:44 GMT
    Content-Type: application/json;charset=utf-8
    Content-Length: 360
    Connection: keep-alive
    Access-Control-Allow-Origin: *
    Access-Control-Allow-Methods: GET, POST, OPTIONS
    Access-Control-Allow-Headers: X-Requested-With, X-Sequence,X-Ca-Key,X-Ca-Secret,X-Ca-Version,X-Ca-Timestamp,X-Ca-Nonce,X-Ca-API-Key,X-Ca-Stage,X-Ca-Client-DeviceId,X-Ca-Client-AppId,X-Ca-Signature,X-Ca-Signature-Headers,X-Forwarded-For,X-Ca-Date,X-Ca-Request-Mode,Authorization,Content-Type,Accept,Accept-Ranges,Cache-Control,Range,Content-MD5
    Access-Control-Max-Age: 172800
    X-Ca-Request-Id: C6C69173-9961-4363-9CF7-1CB2148A7AC1
    Access-Control-Allow-Credentials: true

    {"showapi_res_code":0,"showapi_res_error":"","showapi_res_body":{"spec":"268ml","manuName":"新乡市和丝露饮品有限公司","ret_code":0,"price":"3.00","flag":true,"trademark":"醋美人生","img":"http://app2.showapi.com/img/barCode_img/2f7e639b-aa2f-4248-ae79-f0acc6ea56e6.jpg","code":"6938166920785","diskImgUrl":"","goodsName":"苹果醋","note":""}}

  • 相关阅读:
    Abstract与Virtual
    List 常用方法
    控制数据采样分布 计算概念
    中期答辩感想
    软件开发之团队理解
    详细设计理解
    竞赛系统需求分析
    软件代码规范之理解
    AngularJS 整理资料
    AngularJS合集
  • 原文地址:https://www.cnblogs.com/dunkbird/p/6297059.html
Copyright © 2011-2022 走看看