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,960
- Last Active
- Roles
- Member
Comments
-
When you deploy the updated dict field, which will have the btree checked and you then do an update indexes on the deployment site, the indexes with be automatically built. So you need to be careful to know the size of the table and if very large, d…
-
@donbakke >> local or UNC path. So you can do oswrite mydata to "\\servername\thispath\myfilename.txt"
-
Thanks, I will check it out.
-
Thank you. At the local level is there a way to check if a folder location selected is a mapped drive or sub to it, so it can be not allowed.
-
Thank you very much. I was not sure what the Secure and HttpOnly attributes were about, so, I will play with that.
-
>>but what 6 characters are you referring to? CookieName ='pbcdatapath' JOB1234 that I put there using - HTTP_Services('SetCookie', CookieName, "JOB1234") I assumed that only what I set would go in there, so you are saying it can me anythin…
-
It should be blank or the 6 characters I post there. That information should not be there so to me it is garbage. Definitely is the previous response.
-
Thanks, that's what I thought and knew it was a silly question.
-
Told the Web developer to add 'Debug' to the header, and he still gets the error.
-
FYI: this worked: pbcdatapath = HTTP_Services('GetHTTPCookie', CookieName)
-
Ok thanks. Not a deal breaker. I initially read a control file to get the data folder location to attach, so, I thought if I could then 'save it' I would not need to read again. (just a little i/o save) You must require access to the request header…
-
would that then cause an issue with attempting these options: //it looks like this gets from response header// DataPath=HTTP_Services('GetHTTPCookie', CookieName) //if DataPath empty, check if can get from request header// MyCookies = http_service…
-
Bit of a sledgehammer to crack a nut, so, just setting a value in the login api json will suffice. All good now.
-
Yes, but the web developr says he can see it in postman, but not in his web application and he said I would have to do this: HomeURL = HTTP_Services('GetHomeURL') HTTP_Services('SetResponseHeaderField',"Access-Control-Expose-Headers","ACCOUNT,WWW-…
-
if I do: HTTP_Services('SetResponseHeaderField', 'ACCOUNT', 'LAN') Is there a further setting that I or the WEB Developer needs to do to be able to read this in the header.
-
Thanks, thought that, just needed to have confirmed.
-
All good now, thanks - will obliterate HTTPClient_Services from my memory "...HTTP client to send API requests" ? example?
-
Changing to HTTP_Services it now works in my code also. >>I'm also curious that you got a misspelled service. Are you using the SRP Editor to auto-list and autofill your service names? I would have had SetRequestHeaderField when trying to g…
-
Thank is correct
-
HTTPClient_Services('SetResponseHeaderField',"ACCOUNT","LAN") Still dont see it in the response header
-
Oh, like they say - another pair of eyes . thank you, thank you - so sorry
-
xpbcdatapath = HTTPClient_Services('GetCookie', Name) Does not return a value and it should
-
LOL, no, it was my musings at the time, soory, should have put " around it.
-
Here for the benefit of others following. You do need to change the HTTP Frameworks settings for the API url, in this case, /fes-api. The reason being, is that when you use ParentUrl to form a href-link localhost/api/myping is what you end up with, …
-
First lesson, never Ass U Me Ok, for some reason this works. http://localhost/fes-api/ping Thank you linesman, thank you ball boys.
-
@JaredBratu @DonBakke Thank you. That makes it easy to follow and understand. Also thanks for some of the 'workings' explanations as I wondered how it all connected. BUT , one thing, you notice that this is posted under the HTTP Frameworks section.…
-
Ideal setup: Registry= LANoecgiapi FESoecgiapi then a url that will use the correct one, but still use the same HTTP frameworks setup
-
Only one rewrite rules setup: localhost/api/myapp/[resource] oecgiapi is also the registry entry
-
@JaredBratu - nothing has been created - we made and enquiry to our web developer that was wonted a photo taken in our http mobile web app and if he can do it - and that was the suggestion he came back with (I was surprised he did not mention base6…
-
👍