06-15-2017 12:42 PM
Hi,
I came across Webservice finesse sample gadget that used cisco API. I am trying to add Basic64 Authorization in mymakeRequest function as it is required by the endpoint that it is trying to execute.
Do you have sample codes on to set the Basic64 Authorization in the header?
Thanks,.
Danny
06-15-2017 02:51 PM
Hi Danny,
If you are trying to make an external API request, there is an easier sample gadget to use, the ExternalRestApiSampleGadget.
If I am understanding correctly, you already have the Basic64 authorization and need to know how to add it to the header. If you use the ExternalRestApiSampleGadget, it should be pretty intuitive.
If you want to stick with the webservice gadget, you will need to add it to the header yourself as it seems like the code was written for GETs that doesn't need authorization.
Thanx,
Denise
07-17-2017 12:23 PM
Thanks for the response and sorry for the late replied.
Danny
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: