json - How to use Delphi to sign REST requests using HMAC-SHA256 -


I am trying to inquire about a REST service which has a fair idea about how to contact it. I am using Delphi X6 (Update 1)

The company providing the API has said that: "API has been implemented as JSON via SSL" and they say that :

Authentication is required through signed requests for access to any API Endpoint, created with public and secret API keys

< / Blockquote>

I have a definition key.

The signature is an HMACSHA256 hash of a string in which the request is based on content type, host, url, date timestamp (request date matches match date) and request content (such as post parameters) from a new line Is separated, and in a custom header, the public key is passed with the public key; XAPIA authorization in public, PUBLICKEY in the format: sign

I understand that on each request Need Stakshr be.

How do I access a http request with Delphi XE6?

The illusion is for me at the moment It seems that many underlying components in Delphi have reached the RSET server and parsed back JSON. I can not see any obvious way to sign in to use these components.

Especially there is any help from built-in reverse components or do I have to provide my solution?


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -