I just joined this group today and I'm unsure of the normal participation requirements. I can see from the history of posts in this group that most posts are related to the public sandbox URL. In a nut-shell, I have been successfully posting to the public sandbox URL (
https://qpp-submissions-sandbox.navapbc.com ) for a couple of months now. As of yesterday I have received a "QPP-APIToken" to test posting to the developer preview URL (
https://qpp.cms.gov/api ). I am using the .Net HttpWebRequest class for the communication attempts whether in the public sandbox or the developer preview with the APIToken. I seem to be gaining a successful authorization with the APIToken by adding httpWebRequest.Headers["Authorization"] = "Bearer MYAPITOKEN" to by Headers collection.
If I don't add the header authorization with the APIToken I get a "The remote server returned an error: (401) Unauthorized." exception as I would expect.
If I do add the header authorization with the APIToken I get a "The remote server returned an error: (404) Not Found." exception. I cannot find any combination after many tweaking tests of my HttpWebRequest object to get beyond the "The remote server returned an error: (404) Not Found." exception on the developer preview server.
On the public sandbox server, all of my (POST/GET/etc...) attempts work without any exceptions at all.
Any suggestions will be most appreciated...
Regards,
Lew Chaney