Hi:slightly_smiling_face:, not sure if this is the...
# general
s
Hi🙂, not sure if this is the right place to ask this, but I’ve been working on building an integration which sends http requests to RESTlets. I’ve been having some trouble figuring out how to construct the signature in the authorization header of the request properly so I’ve been following this tutorial https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_1534941088.html#The-Signature-for-Web-Services-and-RESTlets . I am able to generate matching signatures with the given base strings and keys for the REST web services example and the SOAP web services example, but not for the RESTlet example. The closest I’ve come to matching the given signature in the example is
+KK4SKNgz4ZiILGLwOMtfYlgcXSy1eis8ldE9X90azQ=
. I was able to achieve this by changing the base string example to the format to
<method>&<URL>&<parameters>
with ‘&’ delimiters instead of ‘%’ symbols. Using the base string as its given returns
Ag+D4okYPrkQsPFLIWpuDV/Z/Im2WNLvboMjwt5SOMY=
. I’m pretty new to the netsuite platform, and I’m sure I’m doing something obviously incorrect, but has anyone worked through this tutorial and had success (and might be able to offer some advice)?
s
post it in #C2K2RJNAC
👍 1