0

0 与 express-session 但我无法发送 cookie,即 header.its 中的 session.sid 显示在 curl 但它没有显示在服务器中。那么任何人都可以帮助我如何设置它?

swagger: '2.0'
info:
  description: This is the list of API pr
  version: 1.0.0
tags:
- name: developers
  description: Operations available to regular developers
host: localhost:3000
schemes: 
 - http
securityDefinitions:
  api_key:
    type: apiKey
    name: cookie
    in: header


/api/details/{id}:
  get:
    summary: List all
    description: ""
    produces:
      - application/json
    parameters:
      - name: id
        in: path
        required: true
        type: integer
    security:
      - api_key: []  
    responses:
      200:
        description: " "
4

0 回答 0