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
- 2,143
- Last Active
- Roles
- Member
Comments
-
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:
-
Ok thanks. This will be interesting.
-
I thought it referred to ANY stored procedure in the system. 😁 Sorry, wont be able to get out of the habit.
-
I think the terminology has me completely fooled. Did not know that. That explains why I get 'Latin' returned. Ah, look, I have a job_api ssp!!! Wonder how many extraneous ones I have from random button clicks!!!
-
Sorry, only read it once and assumed 'creating an API' was referring to ssp. Ah, that could explain a few failed attempts that I thought was malformed at my end.
-
No, I clicked 'apply' only. I thought 'create APIs' was only if you needed to create the ssp for the base api (bsmob_jobclockon)
-
Sorry, I meant in the ssp list
-
👍
-
Ok, thanks