Testing certain functionality
Posted: Mon Apr 03, 2023 3:14 pm
Are all methods allowed/implemented in the database that we can access with the test credentials provided here: https://www.opendental.com/site/apisetup.html (Under the Authorization header)?
I've been getting the error "Content-Type must be application/json." even though I clearly set this header. I am able to query patients without issue, but when I try to POST a payment, I get this error.
I'm really hoping it's just not available in the testing environment because I can't think of anything else that might be the issue in my code. I even had ChatGPT review my code and it recommended I reach out the API developers because there's nothing in my code that should elicit such a response.
I've been getting the error "Content-Type must be application/json." even though I clearly set this header. I am able to query patients without issue, but when I try to POST a payment, I get this error.
I'm really hoping it's just not available in the testing environment because I can't think of anything else that might be the issue in my code. I even had ChatGPT review my code and it recommended I reach out the API developers because there's nothing in my code that should elicit such a response.