401 when making POST requests to Atlas

I created a test application where I am able to make GET requests to mongo and I get back the data fine. However, whenever I try to make POST requests, I get a 401 even though I’m using the same credentials as in the GET request. Help please?

Hi @Latonya_Ferguson - Welcome the community :wave:

Can you provide the full response received when performing the POST requests? Also, do you have any example of such POST requests (please be sure to include the endpoint as well).

Redact any sensitive information before posting here.

Regards,
Jason