Add Sign
Last updated
Last updated
In this tutorial, we assume you have complete the part.
We use a sample from to show how to do the add sign step. Let's say we have following unhandled data:
We will do 2 steps:
Put all needed the parameters with format {key}={value}
and connect them with &
character together, note:
The signature source need to be ascended in order of the first letter.
Parameters whose value is null
should be removed.
Use your private key to encrypt the generated signature source, here we use Java
as an example:
Once we have the generated Sign
, merged it together with the original data to create a new json
:
That's it, we now have a request body for .