【问题标题】:Can anybody tell me what is meaning of 405 not allowed in postman谁能告诉我邮递员中不允许的405是什么意思
【发布时间】:2019-11-25 22:55:45
【问题描述】:
--AAA
Content-Type: application/json
Content-Disposition: form-data


{
    "emailSubject": "Envelope Create - PDF PARTIAL Transform - MM Ind_Agency_Agree",
    "emailBlurb": "PDF PARTICIAL Transform",
    "status": "created",
    "compositeTemplates": 
    [{
            "inlineTemplates": 
            [{
                    "sequence": "1",
                    "recipients": {
                           "signers": 
                           [{
                                    "name": "Principal First And Last Names HERE",
                                    "email": "mittal.soniya3@gmail.com",
                                    "recipientId": "1",
                                    "routingOrder": "1",
                                    "clientUserId":"1234",
                                    "tabs":{
                                         "signHereTabs": [{
                                         "tabLabel":"Principal_eSignSignHere"
                                            }],
                                         "dateSignedTabs": [{
                                            "tabLabel": "FR2050IA_Principal_Date_eSignDateSigned"
                                            }],
                                         "textTabs": [
                                             {
                                               "tabLabel": "Principal1_Name",
                                               "value": "Joe Smith",
                                             }]
                                }

                        }],
                        "carbonCopies": [{
                            "email": "rishumittal.mittal3@gmail.com",
                            "name": "Lumari Vazquez",
                            "recipientId": "3",
                            "routingOrder": "3"
                        }]            
                  }  
            }],
            "document": {
              "name": "IM Agreement Individual-Gavin Moore Fran List TIC IM.pdf",
              "documentId": "1",
              "transformPdfFields": true
            }
    }]
}

【问题讨论】:

  • 最可能的原因是您将邮递员设置为执行 GET 请求而不是 POST。

标签: postman


【解决方案1】:

405(Method Not Allowed)的意思是请求行中接收到的方法是源服务器已知的,但目标资源不支持。

源服务器必须在 405 响应中生成一个 Allow 标头字段,其中包含目标资源当前支持的方法列表。

您在邮递员中收到此问题的可能原因:

  1. 方法类型不匹配 例如。对于 GET 方法,以 POST 方法发送请求,反之亦然。
  2. 请求路径错误
  3. 您尝试访问的服务可能未正确启动和运行。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-08-09
    • 1970-01-01
    • 1970-01-01
    • 2023-04-09
    • 2013-05-29
    相关资源
    最近更新 更多