Exactscan api11/7/2023 ![]() setDoOutput ( true ) DataOutputStream output = new DataOutputStream ( con. setRequestProperty ( "Content-Type", "application/json" ) con. setRequestProperty ( "api-key", "your api key" ) con. URL obj = new URL ( "" ) HttpURLConnection con = ( HttpURLConnection ) obj. The monthly history is available via scan history API. The Emerald scan API’s allow you to perform new person scan, perform new organisation scan and get sanction lists information. The “400 - Bad Request” response also always contains a ModelState that describes detail of incorrect or invalid sent parameter. In addition to the error code, the response always contains a message that describes the details of the error that occurred. ![]() The server refuses to fulfill the request.Ī generic error has occurred on the server. The requested resource requires authentication. Bad Request is sent when no other error is applicable, if the exact error is unknown or does not have its own error code. The request could not be understood by the server. The request has been successfully processed and the response is intentionally blank. The request resulted in a new resource being created before the response was sent. This is the most common status code to receive. ![]() The request succeeded and the requested information is in the response. a required parameter was omitted, etc) and codes in the 5xx range indicate an error with NameScans servers. In general, codes in the 2xx range indicate success, codes in the 4xx range indicate an error that failed given the information provided (e.g. NameScan uses conventional HTTP response codes to indicate the success or failure of an API request. You must replace `your-api-key` with your personal API key. API requests without authentication will also fail. NameScan API expects for the API key to be included in all API requests to the server in a header that looks like the following:Īll API requests must be made over HTTPS. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas. You can manage your API keys in your profile. NameScan API Reference v2Īuthenticate your account when using the API by including your secret or test API key in the request. You can find old version documents if you use previous versions. You can view code examples in the dark area to the right, and you can switch the programming language of the examples with the tabs in the top right. ![]() We have language bindings in cUrl, Ruby, Python and Java. JSON is returned by all API responses, including errors. We support cross-origin resource sharing, allowing you to interact securely with our API from a client-side web application (though you should never expose your secret API key in any public website’s client-side code). We use built-in HTTP features, such as HTTP authentication and HTTP verbs, which are understood by off-the-shelf HTTP clients. Our API has predictable, resource-oriented URLs, and uses HTTP response codes to indicate API errors. The NameScan API is organised around REST. You can use our API to access NameScan functionalities. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |