Description Usage Arguments Value Author(s) See Also Examples
makeMAuthCall
will make a call to MAuth v1 and return a response, which you must deal with on your own.
1 | makeMAuthCall(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 |
queryString |
optional query string value |
retryAttempts |
optional number of attempts to retry request before returning non-200 response |
body |
Body of the request, ie. for POST requests. |
header_overrides |
any additional headers or overrides (ie. Content-Type) in a named list |
Response (likely in json, depending on the service.)
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)
response<-makeMAuthCall(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.