Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Revive REST API Updating key verify
#1
How to Collect data JSON format with secure key verification
Reply
#2
(03-22-2019, 12:30 PM)Kumar Wrote: How to Collect data JSON format with secure key verification

Rest API is a powerful tool that ensures your ads are consistent, specific, and fast. It's easy to get started using the Rest API because it is based on predictable, resource-oriented URLs. All API responses, including errors, return standard JSON. All errors are semantically mapped to HTTP response codes.
Super Moderator
Revive AdserverMod  Idea
Reply
#3
Whether to use a secret key when serving the response. there are using secure pages because check valid user
Reply
#4
(03-22-2019, 12:46 PM)Jeeva Wrote: Whether to use a secret key when serving the response. there are using secure pages because check valid user

Rest API uses secret API keys to allow access to the API. It allows register existing API keys only allow access, it's must include secret API key in all your API requests. API requests without the secret API key will fail.

So we recommend buying this plug-in to achieve these features.

Product URL: https://www.reviveadservermod.com/rest-a...e-adserver
Super Moderator
Revive AdserverMod  Idea
Reply
#5
which help HTTP response codes to indicate the status of result?
Reply
#6
(03-22-2019, 12:48 PM)Jeeva Wrote: which help HTTP response codes to indicate the status of result?

Rest API uses conventional HTTP response codes to indicate the success or failure of a request, listed and described in the below.

200 OK — Everything worked as expected

400 Bad Request — The request was unacceptable, often due to missing a required parameter

401 Unauthorized — Invalid API key

402 Request Failed — parameters were valid but the request failed.

404 Not Found — The requested resource was not found
Super Moderator
Revive AdserverMod  Idea
Reply
#7
How to Filtering Response Data based on a unique field
Reply
#8
(03-22-2019, 12:49 PM)Jeeva Wrote: How to Filtering Response Data based on a unique field

Sometimes you will need to reduce the amount of data returned from API endpoints. Either you want to keep the responses as lightweight as possible or you want to reduce the amount of the post-processing code on your end.

This is where the "fields" query parameter comes in. You may specify a comma separated list of resource field names to filter which fields appear in API responses. This optional parameters is available to all endpoints that create, retrieve, update or list resources.

The fields id will always appear in the response.
Super Moderator
Revive AdserverMod  Idea
Reply
#9
REST APIs use the Status codes part of an HTTP response message how should represent to inform clients of their request
Reply
#10
(05-24-2019, 10:56 AM)David Ryder Wrote: REST APIs use the Status codes part of an HTTP response message how should represent to inform clients of their request

HTTP defines forty standard status codes that can be used to convey the results of a client’s request. The status codes are Segregate into the five categories Informational, Success, Redirection, Client Error and Server Error
Administrator
ReviveAdserverMod
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)