What?
An article on how to quickly adapt an array code and sort by its values. Surprising how many examples are on the web and everyone saying you're doing it wrong... Which is true but quite unhelpful. ...
... on the employee record
So now we just need to append the following code which loops through the map / associative array we just created and shove this onto every employee's record. My employee recor ...
What?
A quick article on converting a Map (associative array with keys and values) into a URL string to pass as URL parameters.
How?
Let's first define a map:
m_Payload = Map();
m_Payload.put("client_id","my-unique-client-id");
m_Payload.put("redirect_uri","https://www.joellipman.com");
m_Payload.put("response_type","code");
m_Payload.put("scope","my_api_scopes");
m_Payload.put("prompt","login");
Great! ...
... If submitting the headers as an array, note that it must NOT be an associative array:
// this won't work
$a_Header['Authorization'] = "Zoho-oauthtoken " . $v_AccessToken;
$a_Header['Content-Type'] = "application/x-www-form-urlencoded;charset=UTF-8";
/ ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.