httpHeaders Error
Posted: Wed Apr 04, 2018 6:35 pm
Can someone guide me the appropriate way of sending the httpHeaders below. Am getting "Permission Denied" as responds from the server but all looks good with my code.
Code: Select all
put "ABCD" into clientId
put "1234" into clientSecret
put "Authorization: Basic" && base64Encode("clientId:clientSecret") && "Content-Type: application/json"&& "Cache-Control: no-cache" into tHeader
set the httpHeaders to tHeader
post receiveMomoRequest to url "https://server/v1/merchantaccount/merchants/HMXXXXXX/receive"