收藏
回答

小程序支付报错403 Forbidden?

请求的参数:

请求的接口:


报错信息:

全部Json:

{

    "allHeaders": [

        {

            "buffer": {

                "empty"false,

                "full"false

            },

            "elements": [

                {

                    "name""nginx",

                    "parameterCount"0,

                    "parameters": []

                }

            ],

            "name""Server",

            "value""nginx",

            "valuePos"7

        },

        {

            "buffer": {

                "empty"false,

                "full"false

            },

            "elements": [

                {

                    "name""Wed",

                    "parameterCount"0,

                    "parameters": []

                },

                {

                    "name""01 Nov 2023 08:10:19 GMT",

                    "parameterCount"0,

                    "parameters": []

                }

            ],

            "name""Date",

            "value""Wed, 01 Nov 2023 08:10:19 GMT",

            "valuePos"5

        },

        {

            "buffer": {

                "empty"false,

                "full"false

            },

            "elements": [

                {

                    "name""application/json",

                    "parameterCount"1,

                    "parameters": [

                        {

                            "name""charset",

                            "value""utf-8"

                        }

                    ]

                }

            ],

            "name""Content-Type",

            "value""application/json; charset=utf-8",

            "valuePos"13

        },

        {

            "buffer": {

                "empty"false,

                "full"false

            },

            "elements": [

                {

                    "name""188",

                    "parameterCount"0,

                    "parameters": []

                }

            ],

            "name""Content-Length",

            "value""188",

            "valuePos"15

        },

        {

            "buffer": {

                "empty"false,

                "full"false

            },

            "elements": [

                {

                    "name""keep-alive",

                    "parameterCount"0,

                    "parameters": []

                }

            ],

            "name""Connection",

            "value""keep-alive",

            "valuePos"11

        },

        {

            "buffer": {

                "empty"false,

                "full"false

            },

            "elements": [

                {

                    "name""timeout",

                    "parameterCount"0,

                    "parameters": [],

                    "value""8"

                }

            ],

            "name""Keep-Alive",

            "value""timeout=8",

            "valuePos"11

        },

        {

            "buffer": {

                "empty"false,

                "full"false

            },

            "elements": [

                {

                    "name""no-cache",

                    "parameterCount"0,

                    "parameters": []

                },

                {

                    "name""must-revalidate",

                    "parameterCount"0,

                    "parameters": []

                }

            ],

            "name""Cache-Control",

            "value""no-cache, must-revalidate",

            "valuePos"14

        },

        {

            "buffer": {

                "empty"false,

                "full"false

            },

            "elements": [

                {

                    "name""nosniff",

                    "parameterCount"0,

                    "parameters": []

                }

            ],

            "name""X-Content-Type-Options",

            "value""nosniff",

            "valuePos"23

        },

        {

            "buffer": {

                "empty"false,

                "full"true

            },

            "elements": [

                {

                    "name""08EB8F88AA06104D1897CBC0552088951A28ABCD05-268448010",

                    "parameterCount"0,

                    "parameters": []

                }

            ],

            "name""Request-ID",

            "value""08EB8F88AA06104D1897CBC0552088951A28ABCD05-268448010",

            "valuePos"11

        },

        {

            "buffer": {

                "empty"false,

                "full"false

            },

            "elements": [

                {

                    "name""zh-CN",

                    "parameterCount"0,

                    "parameters": []

                }

            ],

            "name""Content-Language",

            "value""zh-CN",

            "valuePos"17

        },

        {

            "buffer": {

                "empty"false,

                "full"false

            },

            "elements": [

                {

                    "name""c683358dd216fa2d4d5a386402cc9787",

                    "parameterCount"0,

                    "parameters": []

                }

            ],

            "name""Wechatpay-Nonce",

            "value""c683358dd216fa2d4d5a386402cc9787",

            "valuePos"16

        },

        {

            "buffer": {

                "empty"false,

                "full"true

            },

            "elements": [

                {

                    "name""JTp7nMIOmuImKj/mTqHU2TR1oo1OjF510bw1tagLvlmlCdPmDSIEHAbaBH6YVrCZMTDceSqugyDhReFBp0Npu1iCE9jqmdKmtuAVFfAyyoH5WXKn+t8Luenbs4lV1jGej6DHl1uhe6EbyfD83H4K8G28nSYBCpJBD82TMNir0SBK6bzUkqvbR05LZ+09DzCE2+uuZVeIxpTnre7RWeVgJKeu6MNfLhEWAbbrK5cecZAqX6WYNAVs1Cvk5d1s03tLU7J30V4n/43mW/4UX1FVJhi+XY9FuacNZtyRnwPPTBSo/74HEZgjsheAF9fkUOcDWUuVZ+Veek8wsqhIFN+HJg",

                    "parameterCount"0,

                    "parameters": [],

                    "value""="

                }

            ],

            "name""Wechatpay-Signature",

            "value""JTp7nMIOmuImKj/mTqHU2TR1oo1OjF510bw1tagLvlmlCdPmDSIEHAbaBH6YVrCZMTDceSqugyDhReFBp0Npu1iCE9jqmdKmtuAVFfAyyoH5WXKn+t8Luenbs4lV1jGej6DHl1uhe6EbyfD83H4K8G28nSYBCpJBD82TMNir0SBK6bzUkqvbR05LZ+09DzCE2+uuZVeIxpTnre7RWeVgJKeu6MNfLhEWAbbrK5cecZAqX6WYNAVs1Cvk5d1s03tLU7J30V4n/43mW/4UX1FVJhi+XY9FuacNZtyRnwPPTBSo/74HEZgjsheAF9fkUOcDWUuVZ+Veek8wsqhIFN+HJg==",

            "valuePos"20

        },

        {

            "buffer": {

                "empty"false,

                "full"false

            },

            "elements": [

                {

                    "name""1698826219",

                    "parameterCount"0,

                    "parameters": []

                }

            ],

            "name""Wechatpay-Timestamp",

            "value""1698826219",

            "valuePos"20

        },

        {

            "buffer": {

                "empty"false,

                "full"false

            },

            "elements": [

                {

                    "name""646BDE22818BC943D006622C4E82A90544587926",

                    "parameterCount"0,

                    "parameters": []

                }

            ],

            "name""Wechatpay-Serial",

            "value""646BDE22818BC943D006622C4E82A90544587926",

            "valuePos"17

        },

        {

            "buffer": {

                "empty"false,

                "full"false

            },

            "elements": [

                {

                    "name""WECHATPAY2-SHA256-RSA2048",

                    "parameterCount"0,

                    "parameters": []

                }

            ],

            "name""Wechatpay-Signature-Type",

            "value""WECHATPAY2-SHA256-RSA2048",

            "valuePos"25

        }

    ],

    "entity": {

        "chunked"false,

        "content": {},

        "contentLength"188,

        "contentType": {

            "buffer": {

                "empty"false,

                "full"false

            },

            "elements": [

                {

                    "name""application/json",

                    "parameterCount"1,

                    "parameters": [

                        {

                            "name""charset",

                            "value""utf-8"

                        }

                    ]

                }

            ],

            "name""Content-Type",

            "value""application/json; charset=utf-8",

            "valuePos"13

        },

        "repeatable"false,

        "streaming"true

    },

    "locale""en_US",

    "params": {

        "names": []

    },

    "protocolVersion": {

        "major"1,

        "minor"1,

        "protocol""HTTP"

    },

    "statusLine": {

        "protocolVersion": {

            "major"1,

            "minor"1,

            "protocol""HTTP"

        },

        "reasonPhrase""Forbidden",

        "statusCode"403

    }

}


回答关注问题邀请回答
收藏
登录 后发表内容