JDBC Driver for OData

Build 24.0.9060

GetSAPCSRFToken

Returns a CSRF token and cookie for authentication to SAP.

Input

Name Type Description
URL String The base URL of the SAP OData service.
TokenHeader String The name of the HTTP header for the SAP CSRF token.

The default value is x-csrf-token.

Result Set Columns

Name Type Description
Success String Whether or not the request was successful.
CSRFToken String The Cross-Site Request Forgery token to be set in the header for subsequent requests.
Cookie String The SAP cookie to be set in the header for subsequent requests.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060