According to new documentation at http://developer.pardot.com/ api_key and user_key should not be passed via URL query string but rather via body or header.
However no new requirements are supported while deprecated query string is still working.
As we understand before query string is deprecated new feature should work.
We tested new api via postman to verify those new requirement vs old (deprecated) ones.
Tested with Postman
- Authentication passing 3 params with query works (gives api key)
- Authentication passing 3 params in header doesn’t work (get,st)
- Authentication passing 3 params in body doesn’t work ( post)
- Passing in query api and user keys works (returns prospect)
- Passing in body api and user keys fails with "err_code": 1, "err": "Invalid API key or user key" (post)
- Passing in header api and user keys fails with "err_code": 1, "err": "Invalid API key or user key" (get, post)
According to new documentation at http://developer.pardot.com/ api_key and user_key should not be passed via URL query string but rather via body or header.
However no new requirements are supported while deprecated query string is still working.
As we understand before query string is deprecated new feature should work.
We tested new api via postman to verify those new requirement vs old (deprecated) ones.
Tested with Postman