question

Upvotes
32 7 8 12

Is there any World-Check-One API Authorisation for Javascript. If so, can you please provide a sample using JQuery AJAX

I am developing World Check One screening solution to my project. Can anyone get me a sample request for jQuery Ajax. I tried the postman to get the sample code, but it is not getting any result.

world-checkworld-check-one
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
4.2k 8 5 6

@ziad.abourizk,

You can use the JS node.js code available in the developer community to understand how to write http requests to the WC1 API. We do not have any sample code for JQuery AJAX.

Kindly note you cannot use the code snippet generated by Postman directly as the code snippet just tells the parameters and the authorization headers that needs to be sent to the WC1 API. However, you still have to write the code to generate the HMAC and convert it to Base64 format using the data sign variable. You can also refer to the pre request script of each API call to understand how is the HMAC being generated.

Please find the link to the sample code section of the documentation page of the developer community.

https://developers.thomsonreuters.com/customer-and-third-party-screening/world-check-one-api/downloads

We have sample code in C#, Java and Java Script-node.js only.

Kindly let me know if you need further assistance on this.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.