API key needed for API call


#1

I have setup a remote web service for mandrill, the service is working (sending an email based on form submission) but I need to pass an API key across form the client application in order for it to work. If I don’t pass the key I get the following error: “You must specify a key value” even though I have set the key as a parameter in the service on my DSP.

Am I correct to assume I shouldn’t need to do this?

Sorry I am just learning.


#2

I don’t see any indication in the Mandrill API docs that they support passing the API key as a URL parameter. All indications point to the need to include the key value in the body of your POSTed JSON.


#3

If I try this in the Postman chrome extension (https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=en), “https://mandrillapp.com/api/1.0/users/ping2.json?key=hYn7IsUYWE7H6UlIfT_OEr” with a valid API key - it works. Would this not mean I can set it as a parameter in dreamfactory?


#4

It worked just fine for me.