Under the weather today, and what I thought was going to be a simple 10 minute thing is refusing to work.
Clarion 9.1 and Nettalk 10.46
I’m looking up Provider (Doctor) NPI numbers on the government/CMS website. This is all publically available and you can check it out here: https://npiregistry.cms.hhs.gov/api-page
This is a test query: https://npiregistry.cms.hhs.gov/api/?number=1477911568&version=2.1
If you go to that as a weblink you’ll get a json response with data about a doctor.
When I do it within Clarion, I mostly get a method error not liking the api/ part. Within nettalk, I’ve posted the query directly and as URL/Data. I don’t remember any substantive difference in the error response which typically looks like this: {“timestamp”:“2022-11-21T19:12:01.912+00:00”,“status”:405,“error”:“Method Not Allowed”,“path”:"/api/"}
I’ve used the setcontent method in the code as both json and xml and have also omitted using it without any change.
I’m sure I’m forgetting to do something on the nettalk side, but similar code works fine against other web api. This just isn’t something I do all the time, probably not even yearly.
Any ideas?