Postman发送POST请求时报错:HTTP Status 400 - Missing Required Header for CSRF Vulnerability Protection

<html>
    <head>
        <title>Apache Tomcat/7.0.85 - Error reporttitle>
        <style>
            
        style>
    head>
    <body>
        <h1>HTTP Status 400 - Missing Required Header for CSRF Vulnerability Protectionh1>
        <HR size="1" noshade="noshade">
        <p>
            <b>typeb> Status report
        p>
        <p>
            <b>messageb>
            <u>Missing Required Header for CSRF Vulnerability Protectionu>
        p>
        <p>
            <b>descriptionb>
            <u>The request sent by the client was syntactically incorrect.u>
        p>
        <HR size="1" noshade="noshade">
        <h3>Apache Tomcat/7.0.85h3>
    body>
html>

Postman发送POST请求时报错:HTTP Status 400 - Missing Required Header for CSRF Vulnerability Protection_第1张图片
解决:
跨域问题,在Header中添加头域字段X-XSRF-HEADER值为valid

你可能感兴趣的:(Postman,Hadoop问题解决)