REST Integration to get CSRF Token

I have gotten most of a REST integration set up to get a CSRF token, but I am not sure how to add the headers to get this request to work.

Comments

  • In the Service Settings (System > Integrations > External Services ), right click your service and edit the service. Then check the Show Advanced Options button. This will allow you to add Additional HTTP Headers.

    When you click add, you will want to add Accept as the header key, check the Use Constant Value box, and enter application/json as the Value. Not checking Use Constant Value will allow you to determine the value of the header at runtime.


Sign In or Register to comment.