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,058
- Last Active
- Roles
- Administrator
Comments
-
There is a 32-bit version available: OECGI4 for OpenInsight 9.4 However, this has been made available not because OI 9.4 requires it but because some people still work with 32-bit versions of Windows. The latter is quickly going away and thus I do…
-
...because your srp_registry function only will look at WOW , it will not work. Point of clarification, this isn't an issue with the SRP Registry utility but an issue with OI 9 being 32bit. If you run the SRP Registry utility from OI 10 you would …
-
You've piqued my curiosity. In what way are you using AdditionalValues for your own purposes? There could be a conflict in the future.
-
I can't think of any problems. That doesn't mean I think it is a good idea...but since you didn't ask me that question...
-
Let's hope the potential web developer appreciates and utilizes the links. The true meaning of REST is in those links, but most people think of REST as just APIs that return JSON content.
-
There are no rules for this. HTML is more about formatting content for rendering in a browser whereas JSON is more about formatting content for sharing between systems. There is no one-to-one correspondence between the two. I suggest taking the path…
-
Well, I don't think the HTTP Framework is doing something. At least this isn't expected. Perhaps an explanation of how the HTTP Framework generates that response might be helpful. The HTTP_MCP listener is responsible for packaging up the response j…
-
The clue is in the StatusCode value: FS109. This means a process was unable to open a table or volume. There is a reference to D:\DATAVOL. Does any of your code attempt to open a table?
-
LOL. No yet at least. I kept trying to catch up with your posts and then you would post something new...so I was having difficulty following your journey and ultimately what you were trying to do. I think you have this handled, but I gave up trying …
-
So you are all good?
-
Okay, so you are simply referring to API_Setup? You didn't mention this in your original post. If so, you are correct. This was omitted as an oversight.
-
suggestion - httpclient_services be included in one of your 'standard' inserts. In what sense to you mean "inserts"? This is a function, not an insert, so I'm a bit confused by your suggestion. ...seeing you use HTTP_Services to 'SetCookie' would …
-
Your point about needing updated documentation is well taken. I think I just pushed out a lot of changes in the last 1 or 2 updates and fell behind on the documentation. This is on my radar.
-
Did you update the Registry to support your customer request header?
-
@BarryStevens - It seems like you are trying to send a request header from your API back to Postman. If so, then that is not how HTTP works. If you haven't already, read the HTTP article from our help. But if I can simplify this: All HTTP calls beg…
-
In my api at the end I do: http_services("SetRequestHeaderField","TESTING","ThisIsATest") This is not a service you should be using. This exists purely for the benefit of the HTTP Framework so that it can take the incoming request headers from th…
-
To answer your question, you need to loop through the array and get the values one at a time.
-
Barry - Our apologies. The code that generates the JSON had a couple of typos in it. I've corrected it and now the entire code snippet works. Let us know if you still have questions.
-
I'm still having a bit of difficulty following you, but I think what you are trying to do is: * Use Postman to send a request to an API. * In this request you have the Content-Length header set to a value (although Postman normally sets this va…
-
Are you trying to get the value of the Content-Length header in your API from what Postman is sending you or are you trying to set the Contet-Length header in your API and see the results in Postman after the API call is finished?
-
How do you mean "working in postman"? What, ultimately, are you trying to do?
-
The only thing I want to correct you on is the spelling of JSON vs. JASON. Yeah, pronounced similarly, but definitely a different spelling (JSON = JavaScript Object Notation). Are you simply asking if you can use SRP JsonX with the HTTP Framework? …
-
@BarryStevens - Yes, that is the right way to handle it. Something I would like to do sometime is update Error_Services so it supports different levels of errors. Some errors are innocuous and shouldn't affect behavior downstream. This is one of tho…
-
To be fair to you, methods and services are interchangeable terms...especially with BASIC+ procedures that provide "commuter module" structures. The Utility() function uses the term "service", Set_Printer() uses the term "message", and Repository() …
-
No. You are probably referring to this sentence from the How do I add hypermedia controls to a resource? article: In keeping with the spirit of HTML hypermedia controls, the SRP HTTP Framework supports a custom property called _forms. It serves the …
-
Just curious, what does "ssp" mean to you? I've already assumed it meant "system stored procedure" (i.e., a Revelation Software provided routine).
-
You are not completely wrong. Every "resource" has its own stored procedure. So your "job" resource - even though it is a sub-resource to "bsmob_Jobclockon" - will have its own "JOB_API" stored procedure.
-
I get it. Lot's to learn. Here is the relevant text: How do I create an API? When creating an API you are either creating a new resource coupled with one or more supported HTTP methods or you are updating an existing resource by adding new support…
-
Gotcha. Well, I do understand the desire to keep your stored procedures sorted. However, this approach sort of moves away from the appeal of Semantic URLs (and RESTful design) and turns it into more of an RPC (remote procedure call) design, which is…
-
Did you click the Create APIs button again after you added that "job" resource?