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,277
Last Active
Roles
Member

Comments

  • 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 …
  • Thanks Barry but I think you misunderstood the question. I'm working from the documentation and trying to understand what I'm reading. I'm getting there, slowly. I wasn't asking for a different url but rather how the frameworks were meant to work w…
  • Verified. Turns out the dbt doesn't contain the tables I thought it did. If I try and read from a table that is attached, amazingly it opens. Now I just need to figure out when and how to attach the correct tables. See I knew this was the right p…
  • Hold the thought. Looks like it's probably just me. I'll confirm and then verify
  • Don, What I did with the controller routine was to simply save a copy in our app that inherits from frameworks. The initial intent was to copy all the routines up so I could hack them as much as I want and not lose the originals. Not trying to acco…
  • Yes it is. I copied and renamed the http_mccp controller into the desired app and threw in a debug and debugged
  • Restate as much as you like. If I see it often enough, it will eventually sink in
  • ... and then add a Case Service _EQC 'getversion' in http_entry_point_services? The mud is slowly dissipating.
  • Yep. I wrote my rewrite rule by blindly following the blog article making no attempt to understand. Then I blindly followed the http frameworks documentation attempting to understand but didn't quite. Understandably both were written based on certa…
  • Looks good Don. Am getting all the expected errors now. Now I can start coding real questions and answers
  • Learning lots of new stuff today :) Barry, thought this one might be of interest to you. I found my rewrite rule wasn't working quite the way I wanted so I started to experiment with it. One of the things I found was that if I changed the 'Rewrite…
  • and that probably meant nothing to all those Non Aussies so I'll rephrase. Yes send it as FRAMEWORKS. Thanks.
  • Is FRAMEWORKS. Is Good
  • Thanks Barry. Hadn't forgotten. Hadn't got that far yet. :) Still at the front door just seeing if I can get in hence the nonsensical url 'what_did_who_say' Now I know to keep an eye out for that though, so thanks.
  • Spending most of the day on it today so please do.