06-18-2025 09:28 PM
Hi,
I was given an API to extract info from it. But before I could use, I need to authenticate it. Can anybody show me how to do it? The expected response would be a token in json format. Thx.
06-18-2025 09:48 PM
Too vague,
Please share your API documentation
06-18-2025 09:59 PM
yes, it is Rest API. Pardon me as I am still new to labview. As I was only given an URL to work ( with the API residing in the server), hence there is no API document specifically.
06-19-2025 03:06 AM
@TJFoo wrote:
yes, it is Rest API. Pardon me as I am still new to labview. As I was only given an URL to work ( with the API residing in the server), hence there is no API document specifically.
There needs to be some documentation. There are virtually umpteen ways to do authentication. The authentication not only can be passed as URL parameter or inside the HTML header or the body in any of JSON, XML, or whatever format, but the algo used to calculate the authentication, the actual encryption routines, ciphers and envelop and padding formats all need to match exactly too.