Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

Requesting a Query through an API

I'm currently having an issue requesting a query through a new API I created and I'm not sure what I'm missing. For instance, if I were to run a query against the CONTACTS table in the format "www.companyname.com/api/contacts?first_name=john" I get the values I was expecting. I've set the Query Params within the HTTP_FRAMEWORK_SETUP window for my new table and I keep getting a "404 - File or directory not found" error. I configured the {TABLE_NAME}.GET routine to be the same as the CONTACTS_API and changed the table and column names within the code. Is there a setting I might be missing?

Comments

  • I don't have access to source code at the moment due to traveling, but I think query params are case sensitive. Can you confirm you are matching the exact case and spelling?
Sign In or Register to comment.