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

Am getting the same problem, anyone who managed to work this out?

SOLVED

Here is a solution, the url you are using is probably wrong. Use this one isntead url:http://{yourdomain}/api/resource/Attendance

use a POST method with the following fields depicted in the screenshot.

image

Test it with Postman.