Description Usage Arguments Value Author(s) See Also Examples
composeMAuthHeader
will compose the elements of a header which can be used to call MAuth v1.
1 | composeMAuthHeader(RMauthClientObject, method, base_url, route, body="")
|
RMauthClientObject |
Valid RMauthClient object. |
method |
either "GET", "POST", "PUT" or "DELETE" |
base_url |
base url of the service you are calling |
route |
the route of the service you want to get a response from |
body |
Body of the request, ie. for POST requests. (Optional) |
Number of values, which you can access for the different headers.
Pramod Somashekar <psomashekar@mdsol.com>
1 2 3 4 5 6 7 8 9 10 11 | data(testKey)
c <- RMauthClient(app_uuid="aaabbbcc-dddd-abcd-abcd-eff6b4b0b637",
mauth_base_url="https://mauth-sandbox.imedidata.net",
private_key=testKey)
headers<-composeMAuthHeader(c,
"GET",
"https://eureka-sandbox.imedidata.net",
"/v1/apis",
"")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.