# FAQ
# How to set the value of Authorization in the Request Header?
- Log in to the merchant dashboard
- Find APP at APP Management, and check for detail
- Get APP ID & Secret Key
- contact APP ID & Secret Key with ':', get original string: str
- Encode str with Base64, then get result: strEncoded
- contact 'Basic ' before strEncoded and get result: authStr
- put authStr as Authorization's value
APP ID : '1234567890'
Security Key : 'abcdefg'
str = '1234567890:abcdefg'
strEncoded = Base64(str)
// get result of strEncoded will be -> MTIzNDU2Nzg5MDphYmNkZWZn
authStr = 'Basic MTIzNDU2Nzg5MDphYmNkZWZn'
// Java
import org.springframework.util.Base64Utils
String appId = "1234567890";
String securityKey = "abcdefg";
String authStr = "Basic " + Base64Utils.encodeToString((appId + ":" + securityKey).getBytes());
authStr = 'Basic MTIzNDU2Nzg5MDphYmNkZWZn';
// POST
Method: POST
Header:Content-Type: application/json
Header:Authorization: 'Basic MTIzNDU2Nzg5MDphYmNkZWZn'