Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
DonBakke
About
- Username
- DonBakke
- Joined
- Visits
- 3,190
- Last Active
- Roles
- Administrator
Comments
-
The HTTP Framework gets the registry values you are referencing from the OECGI payload. It doesn't have to query the registry. (Once upon a time it did do that, but that was problematic because we made assumptions about the path to the correct OECGI…
-
Ah...okay. "methods" means something specific in HTTP/REST (e.g., GET, POST, PUT, etc.). We refer to these as services. Yes, these are official.
-
Missing "methods"?
-
The SRP Editor uses the entity name to remove the executable rather than the name you indicated in the signature of the stored procedure. Having said that, I do recommend updating the name in the signature to match the name of the entity to avoid OI…
-
I applaud your tenacity to work through this. I think, however, you would greatly benefit from some training. If you are new to OpenInsight, there is a lot of ground that can be covered with formal or informal training. We are an ATC (authorized tra…
-
I appreciate the explanation of what you are attempting to do. There are a few things that we need to go over. Some of this might be already known to you, but since you said you were new to OpenInsight, I am going to err on the side of caution. Whe…
-
Is the OLE control you added to the form specifically the SRP Panel control?
-
How vastly different from the version 1 days :) That's an understatement.
-
You are correct on both accounts. The Authorization header contains the (typically encoded and/or encrypted) credentials. You could get this using HTTP_Services('GetRequestHeaderField', 'Authorization'), but then you would have to decode it yourself…
-
I think you are correct. It had been awhile since I looked at this code. We do have built-in caching in the HTTP_Resource_Manager_Services module. This is managed by this equate: Equ CacheTTL$ to 300 ; // Allow cached data to only be fresh …
-
I am very aware of your request (especially from Revelation) for such a tool. While I think something could be developed that would provide some value, I would also want to caution against heavy reliance upon this tool. Applications and their databa…
-
The UD 5 did not introduce any performance benefits. It added support for: * VSS integration for better backups while running live. * Encryption over the wire. * Auto-recovery if OI disconnects from the server. I have yet to see the auto-r…
-
@Opto_Will I was always under the impression that your esteemed predecessor simply didn't understand the need for the UD and thus got along without it. However, I made it very clear this was dangerous and unsupported. As Barry noted, there can be …
-
Did you actually click the Apply button to save the resource configuration? The _forms content is being generated by the entry point API. You can read about it in the how do I add hypermedia controls to a resource? article.
-
That is correct.
-
If you choose to make /api your API entry point, then yes. But this is optional and part of the configuration. Having "api" repeated twice is redundant so one might go with these options: api.website.com/webapis api.website.com/restapis api.website…
-
No. Different people have different sub-domains and/or paths. We like to use api.website.com but it varies on the client and available resources.
-
Yes, you should use the HTTP Framework Setup utility to identify resources. This utility will then auto-generate (if you so desire) your API code template. A resource ID is a unique identifier to a resource. Hence, if your resource is "customer" th…
-
No. This is me not being very careful to remove temporary code for testing before building the official RDK build. Please remove line 7 and 8. P.S. We don't use the "call" statement other than for quick test purposes.
-
If I understand your question properly, you can't have localhost/api relate to more than one application. You would need to setup your virtual directory so that you have localhost/examples/api and localhost/pbc/api.
-
Did you implement the rewrite rules?
-
I'm specifically referring to inet_pbc_login, since that is the stored procedure you are attempting to call. Is that actually getting called? Also, whey are you working with INET? Is this a pre-existing application?
-
I should have asked, is your INET routine not getting called?
-
My best guess is that your INET routine is not setting expected response headers.
-
@sbotes assuming this happening with the client I think you are working for, using another method of communication please send me the name of the table you are working with so I can try and duplicate.
-
Wasn't on the roadmap but doesn't mean it can't be added or even floated near the top. I'll keep you posted.
-
For what it is worth, our road map for the next major release of the HTTP Framework is to move the resource configuration record into a standalone database table. This would allow each resource/endpoint to be a record with its own metadata/propertie…
-
These are stored in the Registry: Computer\HKEY_CURRENT_USER\SOFTWARE\SRP\SRP TCL\{path to OI}\{app name}\CMD
-
I take it you don't want previous entries to auto-fill or something similar? I just want to confirm my understanding of your request before offerings some guidance.
-
In your API response try setting the Access-Control-Allow-Origin header to a value of '*'.