Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
BarryStevens
About
- Username
- BarryStevens
- Joined
- Visits
- 1,867
- Last Active
- Roles
- Member
Comments
-
...reboot - still same
-
Just ran the existing working GET api in postman and got this response. http://localhost/api/bsmob_jobclock/displaysiteinstruction?job_no=26885 Cannot process query: /cgi-bin/oecgi4.exe/displaysiteinstruction%3Fjob_no%3D26885 I have url rewrite set…
-
Ah, that explains it, I thought additionalvalues was just something of yours. I could not figure out how you were setting them up.
-
👍
-
Ok, thanks for your help. Will work out way - no problem. Yes, I was worried about your future use of additionalvalues.
-
An oi status error was created when a application system function was called to attach the data files along with datavol for which the datavol attach created an error code as was already attached and no reason for error checking. But, it was picked …
-
>>this has been made available not because OI 9.4 requires it but because some people still work with 32-bit versions of Windows. Sorry, but I really need to clarify something with you. I am running 64bit windows with 32bit OI9.4 So, therefo…
-
>>Point of clarification, this isn't an issue with the SRP Registry utility but an issue with OI 9 being 32bit. Yes, I knew that. >>Which version of OECGI4 are you using, 32bit or 64bit? Dont know, thought OECGI4 was only 64bit, verifi…
-
We have one application different clients, so on our development PCs we attach the tables depending on the data location passed. Desktop application testing it is in the shortcut params, for a mobile app (browser) testing it is in the registry 'data…
-
Cool, that's what I have been doing. Thanks. I am using the 'href' label for any '_links' and '_form' at the head - the potential web developer hasn't seen it, so, may need to adjust to suit their 'needs' when finally completed.
-
Ok, if it not something at your end I will debug thru my code.
-
Oh, yeah, bad habit…have been pulled up on it before…I post then review,think,test,post!!!! Ok, all I want to know is are you happy that HTTP_Services ('SetCookie' and ' HTTPclient_Services('GetCookie', works.
-
Unless you want to enlighten me (again) as to where I have gone wrong 🤦♂️
-
OK, this works for me. add HTTP_COOKIE to additionalvalues in the registry for OECGI4 set a cookie and its value using HTTP_Services('SetCookie' To get cookies set by the same endpoint I do: MyCookies = http_services('getRequestHeaderFi…
-
insert API_Setup declares common http functions thought it could go in there
-
more.... Cookies=http_services('getRequestHeaderField','Cookie') this returns the cookies and their '=' values. Which makes sense to me as per a previous discussion, unless I have screwed up again, a 'request' to the server can only get request hea…
-
Just remembered I added HTTP_COOKIE to additionalvalues, so the request header values are a fluke(well in my books anyway)
-
Changed the cookie setting to what I may actually need. At the END of the api I did- HTTP_Services('SetCookie', 'NextAction','DayList') so next call to the api MyCookie = HTTPclient_Services('GetCookie', 'NextAction') error …
-
Ok, I understand - was not sure if it was missed.
-
Ah, now I get it. Don't remember having to do that. I saw the reference earlier, but was not sure what I was looking for. I thought, in the first instance, the additionalvalues was your routines somehow. Now all good, but, now I have to remember, …
-
Ok, I see my mistake. Zero or more request headers and values. A request body."> I dont really want to set a value from my api, just get a value from the GET method sent, from the REQUEST header. I still cant get my TESTIT value by doing This…
-
Are you saying you created a header in the Postman request called TESTING and gave it a value of "ThisIsATest"? Is this what you are trying to observe in your API code? Is there by doing this in my api: http_services("SetRequestHeaderField","TEST…
-
Just testing. In my api at the end I do: http_services("SetRequestHeaderField","TESTING","ThisIsATest") I see it in the postman headers at the top (where the authorisation is) at the start (2nd time) I do: ThisKey = http_services("GetRequestH…
-
Great, thanks. SRP_JsonX is the best thing since sliced bread (and http_frameworks) - best web combination!!!!
-
Sorry, is convoluted, it was just a test verification. I was just checking an idea that I could preset known values that I need in a POST. So, at the end of a GET I did a setResponseHeaderField and to test if I could get it back I did a GetRespons…
-
I was trying the command I posted. But it was in a GET method, I now assume it would only ‘work’ in a POST / PATCH method. Work = get a value in response returned.
-
Yes using json and not the newly invented jason!!!! >>In terms of using SRP JsonX with some of the HTTP Framework services, More along side of as apposed to with - i.e. not exchanging/interchanging. Working well so far, has provided me with …
-
I would not call it cheating, just making use of the services available. Variation = HTTP_Services('GetQueryField', "variation") Error_Services('Clear')
-
Thank you
-
Ah, now I realise why I subconsciously mixed method with service. This is from the inet_/html proc I am converting: