The Request-Target is depending on who is sending the request:
When merchant hits DOKU endpoints: The Request-Target is the path of the DOKU API that merchant hits.
Validating Signature
After merchant send request to DOKU and generate signature in request header, DOKU will send response and generate signature in response header. Then merchant can verify this response is coming from DOKU by Signature.
Arrange the signature components to one component and its value per line by adding escape character. Don't add at the end of the string. Sample of the raw format :