Skip to content

Unable to pass input field data in body (paramType : body) getting an error invalid json #33

@ankitkhadria1

Description

@ankitkhadria1

/**

  • @Swagger
  • path: /get_city_list
  • operations:
    • httpMethod: POST
  •  summary: provide supplierId and accessToken
    
  •  notes: Returns a list of city corresponding to its supplierId
    
  •  responseClass: Supplier
    
  •  nickname: getCityList
    
  •  consumes: 
    
  •    - text/html
    
  •  parameters:
    
  •    - name: accessToken
    
  •      description: Your AccessToken
    
  •      paramType : body
    
  •      required: true
    
  •      dataType: string
    
  •    - name: supplierId
    
  •      description: Your SupplierID
    
  •      paramType : body
    
  •      required: true
    
  •      dataType: string
    
    */

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions