Unable to add entries to attendance doctype for an employee using POST method

I want to add attendance data from API call I’m able to get the added data using API ‘get method’ but when i try “Post method” I’m getting 417 error please help me with the error