I have a website that I wish to obtain information from that uses a RESTful API but I am not sure how to implement this in DNN. I have searched the Forums and I do not find an answer to my problem!
Currently running DNN 9.0.2
The website I want to obtain the information from uses a set of API keys which I have been provided.
This is the information they have provided.
RESTful
The CPG API is a mostly RESTful API. Known caveats:
- All API calls should be made with HTTP POST.
- You can consider any non-200 HTTP response code an error
- All methods are accessed via: https://www.......
Passing Request Data
Request data is passed to the API by POSTing to the
API endpoints with the appropriate parameters. The documentation for
each API call will contain more detail on the parameters accepted by the
call.
All requests must also have the following headers or they will be returned as unauthorized:
- x-api-key
- x-api-token
- x-user-id
Thanks for any assistance!!!