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

AusMarkB

About

Username
AusMarkB
Joined
Visits
3,207
Last Active
Roles
Member

Comments

  • Yes field 30 in the request is completely empty. Don't yet have postman on the server but will get to that. The oecgi_version seems to have resolved itself now so there are no other obvious symptoms.
  • When sent from the browser on the server, even the offending two calls pass in the header values. It seems to be only when I use postman across the network. As I typed that I thought to check from my browser and the values are passed in so I'm gues…
  • As early as can be. Yes at the beginning of http_mcp before any calls are made. inet_trace is a local gosub in entry_point_services. Each of the others have their own service. Only those that carry the header values through actually get that far th…
  • So now it gets even weirder. For me at least. Whether it works or not seems dependent or at least related to the endpoint. I was testing and failing with api/employees switched to api/inet_trace and the header info came through as it also did wit…
  • Closer inspection and comparison of the two requests show two other differences. When run from the browser on the server, additional_Values$ contains the values expected. http_accept$ contains a string like this "text/html,application/xhtml+xml,app…
  • If I use localhost on the server, the values come through as well so it is the same as on my laptop. It's just an issue when it's an external request which is clearly a problem. I shall continue to dig.
  • Strange that it works on my laptop using IIS but not when I make the request to the server. I thought that I configured both the same but perhaps not.
  • Hi Don, Looks like that was my intent. Another higher priority project (the http_frameworks one) took the place of that prototype though and it got shelved. Hence there was no more traction on my end. In reality, the two things are linked but the d…
  • Hey Colin, I had the same problem regardless of the type of controls on the embedded form. https://forum.srpcs.com/discussion/132/embedded-windows-opinions-please Never got to the bottom of it.
  • Thanks Don.
  • I went via the wiki link rather than the products link. My mistake. All works perfectly now though.
  • Guess I went to the wrong page because it said the current version was 1.5.2 Should have checked the version history though.
  • Has this new version been released? I just stumbled over the same issue with srp_json and 'getmembers' I don't have any members called "????????????????????????????????????????????????" :P
  • Thanks Don, I wrote it using 'set', then switched it to 'add' when I noticed it in the doco but in all honesty, it's probably negligible in my current case. These arrays will probably rarely reach double figures. Just thought I'd ask in case ther…
  • Was that an RDK or an rdk that helped resolve the problem?
  • Could searchCriteria possibly have some delimiters in there that may not be easily visible within the debugger? I'm thinking carriage returns or something for example?
  • Thanks for the clarification Jared. I never said I knew why, just that it seemed to resolve a symptom. :) Happy birthday for the other day too.
  • Beauty. Thank you. Happy to do it that way. Just making sure I wasn't missing something already available.
  • Hey Barry, Yes it's happening though upon rereading my post I realise I just assumed everyone else knew what I was talking about because I mean, why wouldn't they, I've had my head in the code for an hour.... The issue only arises if the key is a …
  • Thanks Jared. I'll keep the additional rule in mind if I decide I need it. So far as the additional slash, that was intentional as per this post. FWIW, in the rewrite rule I also had to add a '/' within the brackets within the Pattern. If I didn't…
  • Thanks Barry. Adding the asterisk yet leaving the Wildcards as Regular Expressions worked in the rewrite url test space. Unfortunately Postman didn't catch on and still returned the 404. Must be closer though.
  • Just for example purposes Here's the url rewrite
  • Don, This was just a case of me still exploring the sample code. The beginning of the case statement for the entry_point service is Begin Case Case RemainingURL _EQC '' // There is no remaining URL, which means this is the end poin…
  • I've added 'services' to the entry_point case statement so now http://mywebpage/api/services achieves the end goal. I'd still welcome any suggestions as to help my understanding. Thanks.
  • Thank You
  • Yes and no. It didn't help in this case as I will still use the edittable and have already implemented the smoke and mirrors anyway. So why Yes? I thought I had read something like that somewhere which prompted me to ask the question in the first…
  • I'll wait and see how that pans out
  • This in the GetItem gosub looks like the simplest way to do the trick If Len(NextService) then * HTTP_Services('RunHTTPService', NextServiceHandler, NextService, NextURL) HTTP_Services('RunHTTPService', NextService, NextURL, "") end
  • Thanks Don. You've addressed several questions there that I wasn't even sure I knew how to ask. The first few times I read through the documentation I couldn't understand why /invoices wasn't a top-level service but then I read a different example …