Developer Challenge Service

This service contains a single endpoint to use for hashing a value with your SAP Community ID. The endpoint is /v1/hash.

Send an HTTP request using the GET method, supplying the value to hash in the URL, in the form (value='...'). For example, if you want to hash the value "hello", make a GET request to:

/v1/hash(value='hello')

Important: In every call to this endpoint, you MUST supply an HTTP header with your SAP Community ID.

Your SAP Community ID is the name or identifier you have given yourself on the new SAP Community platform. For example, the SAP Community ID for DJ Adams is qmacro.

The header you must supply in each HTTP request is CommunityID. Here is an example of that header used in a call to this endpoint:

      GET /v1/hash(value='hello') HTTP/1.1
      User-Agent: curl/7.74.0
      Accept: */*
      CommunityID: qmacro

Note that while your SAP Community ID might be displayed on the SAP Community platform in mixed case, you don't need to supply it that way. You can supply it as-is, or you can supply it in all lower case, for example.

The response will be a plain text value which is a SHA256 hash of your SAP Community ID and the value you supply. The hash will be in hexadecimal digest form. For example, the response to the above request will look like this:

8c837d30042da220cced802bd2583e67189e477aedec125fdb69ce7e2a7a48b5

There is also a small OData V4 service here: Northbreeze.