go run .
All APIs that can accept a body will assume that that body is JSON.
All examples assume you run on localhost
URL : {{local}}/api/v1/ref-codes/pos/:posID
Method : POST
Body :
Please note: I am just sending the key for a future implementation with RSA. (AES Key will be encrypted with RSA soon)
{
"Data" : "JsonInEncryptedCipherText",
"Key" : "aesKey"
}
Code : 200 OK
The response would be a json