Today I would like to write about Authenticating to XTRF using Rest API with PHP. After authenticating we can manage users, projects, and estimate ..etc.
Below is the function of making a post request to XTRF REST API with your credentials.
How to use
Just pass the username and password to the function as shown below, after success full authentication it will create a cookie file, we need this generated cookie for further operations(for making other API requests) like getting projects list, Estimations list..etc.
I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face - we are here to solve your problems.
I am Arjun from Hyderabad (India). I have been working as a software engineer from the last 7+ years, and it is my passion to learn new things and implement them as a practice. Aside from work, I like gardening and spending time with pets.