Doubt related api

How to insert the data inside the doctype using the help api and postman

i did this to see the data on the local server using link

http://0.0.0.0:8000/api/method/fourthapp.fourth_module.doctype.client_side_scripting.apii.get_client_details

but now i want to insert data inside the doctype with the help of api and postman

Hy @Rajat96318

In case you’ve custom app, check hooks.py file, if you’ve any typo in any module names?

Thank You!

Hi @Rajat96318:

By design, any doctype has their own REST API without write a single line of code.

Check this:
https://frappeframework.com/docs/user/en/api/rest

Hope this helps.

Hit /api/resource/<Doctype Name> with POST Method, Payload should be dictionary with all compulsory fields