Error occurring during Post API of person

I am using rest web services of openMRS

On GET API : works fine

On POST API: 404 : “Bad request comes” and shows Response: “user not logged In”.

Can you send some more information? Screenshots or logs?

that is my Request JSON :

https://pastebin.com/ewFw51WL

that is log: https://pastebin.com/GUuXrQ0M

giving me Error 500

   Invalid userName and password 

can u suggest me how to create person use rest webserviceS openMRS

I suggest you reading this : https://wiki.openmrs.org/display/docs/REST+Web+Services+API+For+Clients

can you tell on which endpoint are you posting?

Also are you giving all the data required by the POST request?