<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: CSRF token validation failed for my POST Method in SAPUI5 using Eclipse? in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409803#M47725</link>
    <description>&lt;P&gt;Hi Viplove,&lt;/P&gt;&lt;P&gt;Basically i am from ABAP, i am new to this JAVASCRIPT that's y this confusion.&lt;/P&gt;&lt;P&gt;Here i am placing my code check it once..&lt;/P&gt;&lt;P&gt;If you don't mind please correct it...( if you have time please look into this code and make some modifications )&lt;/P&gt;&lt;P&gt;In the below code, Bold lettered lines of code is copied from your code...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CODE&lt;/STRONG&gt;: &lt;/P&gt;&lt;P&gt;//''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;function getCSRFToken() { var token = null;&lt;BR /&gt;              $.ajax({ url: '&amp;lt;&amp;lt;My URL&amp;gt;&amp;gt;' ,&lt;BR /&gt;                  type: "GET", &lt;BR /&gt;                  async: false ,&lt;BR /&gt;                  crossDomain : true ,&lt;BR /&gt;                  headers: {&lt;BR /&gt;                     //'api-key' : 'XXXXX',&lt;BR /&gt;                      userId : 'vcuser',&lt;BR /&gt;                      password : '123456',&lt;BR /&gt;              },&lt;BR /&gt;                  beforeSend: function(xhr){ xhr.setRequestHeader("X-CSRF-Token", "Fetch") ; },&lt;BR /&gt;                  complete: function(xhr){ token = xhr.getResponseHeader("X-CSRF-Token");&lt;BR /&gt;                  return token;      &lt;BR /&gt;                     }&lt;BR /&gt;                     })&lt;BR /&gt;                         }&lt;/STRONG&gt;&lt;BR /&gt;//''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''             &lt;BR /&gt;             $.ajax({&lt;BR /&gt;             type: 'POST' ,&lt;BR /&gt;             url : '&amp;lt;&amp;lt;My URL&amp;gt;&amp;gt;' ,&lt;BR /&gt;             //jsonpCallback: 'processJSON',&lt;BR /&gt;             dataType: "json",&lt;BR /&gt;             data: JSON.stringify(oNew),&lt;BR /&gt;             contentType:"application/json" ,&lt;BR /&gt;             &lt;STRONG&gt;headers: xhr.setRequestHeader('X-CSRF-Token', token) ,&lt;/STRONG&gt;&lt;BR /&gt;             success: function(){&lt;BR /&gt;               new sap.m.MessageToast.show("Customer Added Successfully");&lt;BR /&gt;               oDialogue.close();&lt;BR /&gt;               sap.ui.getCore().byId("myTable").getModel().refresh(true);&lt;BR /&gt;             },&lt;BR /&gt;             &lt;BR /&gt;             error: function(){&lt;BR /&gt;               new sap.m.MessageToast.show("Error while adding the Customer");&lt;BR /&gt;               oDialogue.close();&lt;BR /&gt;             }&lt;BR /&gt;           });&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vamc&lt;/P&gt;</description>
    <pubDate>Fri, 28 Apr 2017 12:01:47 GMT</pubDate>
    <dc:creator>vamsilakshman_pendurti</dc:creator>
    <dc:date>2017-04-28T12:01:47Z</dc:date>
    <item>
      <title>CSRF token validation failed for my POST Method in SAPUI5 using Eclipse?</title>
      <link>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaq-p/409797</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;Here i am facing one issue with Create an entry into Database Table using SAPUI5 &amp;amp; OData. Fetching the data from Database and displaying in our SAPUI5 application has been done perfectly using OData Service. Fetching purpose i used the below code...&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/32206-csrf1.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Output: &lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/32207-csrf2.jpg" /&gt;&lt;/P&gt;&lt;P&gt;when i was trying to create by clicking on Create button : below i am providing my code for Create (POST) Method...&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/32209-csrf4.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/32208-csrf3.jpg" /&gt;&lt;/P&gt;&lt;P&gt;when i click on Save button it will not triggering my &lt;STRONG&gt;jQuery.ajax &lt;/STRONG&gt;line in my Controller code so that it displays else part message.&lt;/P&gt;&lt;P&gt;In DOM i got the error like &lt;STRONG&gt;CSRF token validation failed...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;i searched in SCN with the above mentioned error wise, but no relevant solution is found. If any one  face this kind of issue and resolved please guide me the steps...where exactly i did the mistake.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vamsi.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 06:16:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaq-p/409797</guid>
      <dc:creator>vamsilakshman_pendurti</dc:creator>
      <dc:date>2017-04-28T06:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: CSRF token validation failed for my POST Method in SAPUI5 using Eclipse?</title>
      <link>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409798#M47720</link>
      <description>&lt;P&gt;Hi &lt;A href="https://answers.sap.com/users/4307/vamsilakshmanpendurti.html"&gt;vamsilakshman pendurti&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;You need to first fetch the XCSRF token and than need to pass for the post request as without xcsrf validation the server doesnt trust the client ..so it will not allow you to POST the data. &lt;/P&gt;&lt;P&gt;To fetch the x-CSRF token : &lt;/P&gt;function getCSRFToken() {	    var token = null;	    $.ajax({	        url: &amp;lt;your Service or metadata&amp;gt;	        type: "GET",	        async: false,	        beforeSend: function(xhr) {	            xhr.setRequestHeader("X-CSRF-Token", "Fetch");	        complete: function(xhr) {	            token = xhr.getResponseHeader("X-CSRF-Token");	    return token;&lt;P&gt;And than use this toke and set it in the header of the POST request like this : &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;xhr.setRequestHeader('X-CSRF-Token', token);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 28 Apr 2017 08:01:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409798#M47720</guid>
      <dc:creator>former_member340030</dc:creator>
      <dc:date>2017-04-28T08:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: CSRF token validation failed for my POST Method in SAPUI5 using Eclipse?</title>
      <link>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409799#M47721</link>
      <description>&lt;P&gt;csrfToken : function(th){
      var that=this;
      var a = "any entity set url or service url";
      var f = {
          headers : {
            "X-Requested-With" : "XMLHttpRequest",
            "Content-Type" : "application/atom+xml",
            DataServiceVersion : "2.0",
            "X-CSRF-Token" : "Fetch"
          },
          requestUri : a,
          method : "GET"
      };
      OData.request(f, function(data, oSuccess) {
        this.ViewThis.oToken = oSuccess.headers['x-csrf-token'];  
      });
    },&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 09:30:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409799#M47721</guid>
      <dc:creator>gaurav_setu</dc:creator>
      <dc:date>2017-04-28T09:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: CSRF token validation failed for my POST Method in SAPUI5 using Eclipse?</title>
      <link>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409800#M47722</link>
      <description>&lt;P&gt;Hi Viplove ,&lt;/P&gt;&lt;P&gt;Thanks for the reply and now my cursor is triggering the POST Method in $.ajax Statement.&lt;/P&gt;&lt;P&gt;I added that code which you mentioned for POST method...as shown below&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/32267-err.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;Now i got the error like below mentioned...&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Uncaught ReferenceError: xhr is not defined&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;how to define it ...&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vamc&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 10:17:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409800#M47722</guid>
      <dc:creator>vamsilakshman_pendurti</dc:creator>
      <dc:date>2017-04-28T10:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: CSRF token validation failed for my POST Method in SAPUI5 using Eclipse?</title>
      <link>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409801#M47723</link>
      <description>&lt;P&gt;Hey , &lt;/P&gt;&lt;P&gt;You are doing it incorrectly , i provided the code to be placed in beforeSend property of the ajax : &lt;/P&gt;&lt;P&gt;beforeSend: function(xhr) { xhr.setRequestHeader('X-CSRF-Token', token);} &lt;/P&gt;&lt;P&gt;and if you are using header property of ajax, you need to mention as key value pair  .. reference &lt;A href="http://api.jquery.com/jquery.ajax/" target="test_blank"&gt;http://api.jquery.com/jquery.ajax/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;And also token is  variable containing XCSRF token which you need to fetch from the GET request ..(mentioned in my previous answer)&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;VIplove&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 11:33:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409801#M47723</guid>
      <dc:creator>former_member340030</dc:creator>
      <dc:date>2017-04-28T11:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: CSRF token validation failed for my POST Method in SAPUI5 using Eclipse?</title>
      <link>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409802#M47724</link>
      <description>&lt;P&gt;why use jquery.ajax.....you are looking for trouble....&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 12:00:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409802#M47724</guid>
      <dc:creator>junwu</dc:creator>
      <dc:date>2017-04-28T12:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: CSRF token validation failed for my POST Method in SAPUI5 using Eclipse?</title>
      <link>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409803#M47725</link>
      <description>&lt;P&gt;Hi Viplove,&lt;/P&gt;&lt;P&gt;Basically i am from ABAP, i am new to this JAVASCRIPT that's y this confusion.&lt;/P&gt;&lt;P&gt;Here i am placing my code check it once..&lt;/P&gt;&lt;P&gt;If you don't mind please correct it...( if you have time please look into this code and make some modifications )&lt;/P&gt;&lt;P&gt;In the below code, Bold lettered lines of code is copied from your code...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CODE&lt;/STRONG&gt;: &lt;/P&gt;&lt;P&gt;//''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;function getCSRFToken() { var token = null;&lt;BR /&gt;              $.ajax({ url: '&amp;lt;&amp;lt;My URL&amp;gt;&amp;gt;' ,&lt;BR /&gt;                  type: "GET", &lt;BR /&gt;                  async: false ,&lt;BR /&gt;                  crossDomain : true ,&lt;BR /&gt;                  headers: {&lt;BR /&gt;                     //'api-key' : 'XXXXX',&lt;BR /&gt;                      userId : 'vcuser',&lt;BR /&gt;                      password : '123456',&lt;BR /&gt;              },&lt;BR /&gt;                  beforeSend: function(xhr){ xhr.setRequestHeader("X-CSRF-Token", "Fetch") ; },&lt;BR /&gt;                  complete: function(xhr){ token = xhr.getResponseHeader("X-CSRF-Token");&lt;BR /&gt;                  return token;      &lt;BR /&gt;                     }&lt;BR /&gt;                     })&lt;BR /&gt;                         }&lt;/STRONG&gt;&lt;BR /&gt;//''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''             &lt;BR /&gt;             $.ajax({&lt;BR /&gt;             type: 'POST' ,&lt;BR /&gt;             url : '&amp;lt;&amp;lt;My URL&amp;gt;&amp;gt;' ,&lt;BR /&gt;             //jsonpCallback: 'processJSON',&lt;BR /&gt;             dataType: "json",&lt;BR /&gt;             data: JSON.stringify(oNew),&lt;BR /&gt;             contentType:"application/json" ,&lt;BR /&gt;             &lt;STRONG&gt;headers: xhr.setRequestHeader('X-CSRF-Token', token) ,&lt;/STRONG&gt;&lt;BR /&gt;             success: function(){&lt;BR /&gt;               new sap.m.MessageToast.show("Customer Added Successfully");&lt;BR /&gt;               oDialogue.close();&lt;BR /&gt;               sap.ui.getCore().byId("myTable").getModel().refresh(true);&lt;BR /&gt;             },&lt;BR /&gt;             &lt;BR /&gt;             error: function(){&lt;BR /&gt;               new sap.m.MessageToast.show("Error while adding the Customer");&lt;BR /&gt;               oDialogue.close();&lt;BR /&gt;             }&lt;BR /&gt;           });&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vamc&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 12:01:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409803#M47725</guid>
      <dc:creator>vamsilakshman_pendurti</dc:creator>
      <dc:date>2017-04-28T12:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: CSRF token validation failed for my POST Method in SAPUI5 using Eclipse?</title>
      <link>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409804#M47726</link>
      <description>&lt;P&gt;var token ;&lt;/P&gt;&lt;P&gt;$.ajax({ url: '&amp;lt;&amp;lt;My URL&amp;gt;&amp;gt;' ,&lt;BR /&gt;type: "GET", &lt;BR /&gt;beforeSend: function(xhr){ xhr.setRequestHeader("X-CSRF-Token", "Fetch") ; },&lt;BR /&gt;complete: function(xhr){ token = xhr.getResponseHeader("X-CSRF-Token");&lt;/P&gt;&lt;P&gt;$.ajax({&lt;BR /&gt;type: 'POST' ,&lt;BR /&gt;url : '&amp;lt;&amp;lt;My URL&amp;gt;&amp;gt;' ,&lt;BR /&gt;dataType: "json",&lt;BR /&gt;data: JSON.stringify(oNew),&lt;BR /&gt;contentType:"application/json" ,&lt;/P&gt;&lt;P&gt;beforeSend: function(xhr) { xhr.setRequestHeader('X-CSRF-Token', token);}&lt;/P&gt;&lt;P&gt;success: function(){&lt;/P&gt;&lt;P&gt;new sap.m.MessageToast.show("Customer Added Successfully");&lt;BR /&gt;oDialogue.close();&lt;BR /&gt;sap.ui.getCore().byId("myTable").getModel().refresh(true);&lt;BR /&gt;},&lt;BR /&gt;error: function(){&lt;BR /&gt;new sap.m.MessageToast.show("Error while adding the Customer");&lt;BR /&gt;oDialogue.close();&lt;BR /&gt;}&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;}&lt;BR /&gt;})&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;VIplove&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 12:13:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409804#M47726</guid>
      <dc:creator>former_member340030</dc:creator>
      <dc:date>2017-04-28T12:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: CSRF token validation failed for my POST Method in SAPUI5 using Eclipse?</title>
      <link>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409805#M47727</link>
      <description>&lt;P&gt;Its ok Jun .. we can even use ajax .. might be his services not follow oData principles so why to use oData Model &lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 12:16:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409805#M47727</guid>
      <dc:creator>former_member340030</dc:creator>
      <dc:date>2017-04-28T12:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: CSRF token validation failed for my POST Method in SAPUI5 using Eclipse?</title>
      <link>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409806#M47728</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Actually i don't know whether my services are following OData Principles OR not. Just i am practicing &amp;amp; i want to create one record in SAP DB using SAPUI5. I already done OData Service for that. Now for SAPUI5 i copied the logic from Internet Only ( jQuery.ajax ) ...&lt;/P&gt;&lt;P&gt;If there is any other better approach, please share with me... &lt;/P&gt;&lt;P&gt;Thanks ,&lt;/P&gt;&lt;P&gt;Vamc&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 12:42:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409806#M47728</guid>
      <dc:creator>vamsilakshman_pendurti</dc:creator>
      <dc:date>2017-04-28T12:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: CSRF token validation failed for my POST Method in SAPUI5 using Eclipse?</title>
      <link>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409807#M47729</link>
      <description>&lt;P&gt;Yeah through oData you can do the CRUD operations ,that's the way we should do. Ajax is not recommended. Use &lt;A href="https://sapui5.hana.ondemand.com/1.32.7/docs/api/symbols/sap.ui.model.odata.v2.ODataModel.html"&gt;oData model&lt;/A&gt; and the operations ... Just check out these blogs they are using oData .. &lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2015/02/05/simple-exercise-on-odata-and-sap-ui5-application-for-the-basic-crud-operation/" target="test_blank"&gt;https://blogs.sap.com/2015/02/05/simple-exercise-on-odata-and-sap-ui5-application-for-the-basic-crud-operation/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2014/01/13/building-a-crud-application-with-sapui5-using-odata-model/" target="test_blank"&gt;https://blogs.sap.com/2014/01/13/building-a-crud-application-with-sapui5-using-odata-model/&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 13:03:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409807#M47729</guid>
      <dc:creator>former_member340030</dc:creator>
      <dc:date>2017-04-28T13:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: CSRF token validation failed for my POST Method in SAPUI5 using Eclipse?</title>
      <link>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409808#M47730</link>
      <description>&lt;P&gt;yes, of course, you can write plain html to code your web app. have fun....&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 13:28:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409808#M47730</guid>
      <dc:creator>junwu</dc:creator>
      <dc:date>2017-04-28T13:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: CSRF token validation failed for my POST Method in SAPUI5 using Eclipse?</title>
      <link>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409809#M47731</link>
      <description>&lt;P&gt;use odatamodel to do the job.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 13:29:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409809#M47731</guid>
      <dc:creator>junwu</dc:creator>
      <dc:date>2017-04-28T13:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: CSRF token validation failed for my POST Method in SAPUI5 using Eclipse?</title>
      <link>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409810#M47732</link>
      <description>&lt;P&gt;Hi Viplove,&lt;/P&gt;&lt;P&gt;I applied same code which you mentioned a link in previous post....&lt;/P&gt;&lt;P&gt;Here is my code...as shown below screen..&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/32399-e2.jpg" /&gt;&lt;/P&gt;&lt;P&gt;When i execute and want to create new record...it will display one popup as shown below..&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/32400-e0.jpg" /&gt;&lt;/P&gt;&lt;P&gt;When i click on Save Button then it will display as shown below screen shot...&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/32402-e1.jpg" /&gt;&lt;/P&gt;&lt;P&gt;That's it nothing will happened...&lt;/P&gt;&lt;P&gt;My 6th Record was not created ... Could you please look into this and give me the solution...&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vamc&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2017 05:18:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409810#M47732</guid>
      <dc:creator>vamsilakshman_pendurti</dc:creator>
      <dc:date>2017-05-01T05:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: CSRF token validation failed for my POST Method in SAPUI5 using Eclipse?</title>
      <link>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409811#M47733</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;What error you are getting in the console or F12 networks tab ??&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Viplove&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2017 10:25:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed-for-my-post-method-in-sapui5-using-eclipse/qaa-p/409811#M47733</guid>
      <dc:creator>former_member340030</dc:creator>
      <dc:date>2017-05-10T10:25:55Z</dc:date>
    </item>
  </channel>
</rss>

