Skip to Content
0
May 18, 2016 at 10:12 AM

csrf token validation failed for SMP in REST Client for POST

141 Views

Hi All,

I had created one service for Deep Insert in gateway.

Same service i had created application in SMP.

I am able to get data in rest client but same thing when i tried to do for POST, it is giving error "csrf token validation failed"

I had followed SCN link for

SMP Developer Center: SMP 3.0 : REST API

Application Development

I am able to get CSRF Token, but when i pass as given in document.. it gives error.

I checked in Gateway trace.. their it is showing in green but has same CSRF error in response.

Same POST works fine using gateway.

In SMP Log, I am getting error : Response code from backend is 403 for request null#

Kindly advise me..

POST URL : http://xx.xx.xx.xx:8080/com.mindtree.inventory/PhysInvHdrSet

Thanks

Vivek