Need Help Converting CURL to Deluge
Hi, I am having an issue with converting a CURL command into Deluge.
The CURL Command is formatted as follows (token is a bogus string):
curl https://{subdomain}.zendesk.com/api/v2/users.json \
-H "Authorization: Bearer 52d7ef4ee01e2c2c75bff572f957cd4f12d6225eee07ea2f01d01a"
I have tried a lot of different ways as you can see, to no avail.
- headerM = Map();
- headerL = List();
- headerL.add("Bearer");
- headerL.add(credsResp.get("access_token"));
- headerM.put("Bearer", credsResp.get("access_token"));
- //headerM.put("Bearer", zoho.encryption.base64Encode(credsResp.get("access_token")));
- //header.put("Authorization",headerM);
- header.put("Authorization",headerL);
- response = getUrl(userURL, header, false);
Does anyone have any suggestions or has done this before. It's a REST API, but I'm not sure how to format it properly for this request. I was able to get the Access Token, but I cannot get it to fulfill this type of endpoint request.
Sticky Posts
Function #41: Sync Associated Subforms!
Welcome back everyone! The last custom function showed how to update a Contact with Product details from it's Related list in Deals. This week, let's look at a function that lets you update subform records in two modules simultaneously when one of them is updated. Business scenario Let's look at how subform helps in an education institution that has deployed Zoho CRM. National Public School, Austin (made up, of course!) has set up Zoho CRM and it follows the same relationship pattern of "Students",
Zoho Pagesense Resources
Zoho SalesIQ Resources
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Desk Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.