taking data nd sendit to API for