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,084
- Last Active
- Roles
- Member
Comments
-
>> meaning the values returned, whilst correct, are not necessarily aligned with the correct name Is that happening or you assuming it will. Appears to be OK here (I see what you mean in the code, though)
-
Mark, Try api/* in 'Pattern' Using: Wildcards
-
OK.
-
Anton, Do you have 'Authorization' in your Postman request header?
-
Thank you, duly noted.
-
obviously nothing better to do with my time . . . MyServices=xlate("SYSENV","SRP_HTTP_FRAMEWORK_SETUP",7,"X") locate NextSegment in MyServices setting NextSegmentPos else NextSegmentPos=False$ end Begin Case Case RemainingURL _EQC '' …
-
..sorry, 3 areas
-
When you started to mention the SRP framework setup, I was expecting to see a @vm list in there where you enter the names of the services to avoid having to remember which ssp to change and to change in 2 areas. :)
-
Don, Not sure if I have missed this, but should not there be a mention somewhere that the services that are created need to be added in the code for HTTP_Entry_Point_Services.
-
Brilliant!
-
Ah, the cell height. Changed to 16 and it works. Windows OS=Win10 Cell Height=14 Font=Tahoma, 8, 400 thank you
-
CustomerId= HTTP_Services('GetQueryField', 'customer')
-
www.myapplication.com/api/invoices/1234?customer=5678
-
did you double check that the socket server script has the right and same path to your OI Application that you are expecting?
-
I have installed into another base development system, which I will use if a similar job comes up. Still in a client test environment. Not me delaying golive, the web front has not been completed satisfactorily yet. The big worry is GoLIve and I wi…
-
Not changin' nuffin. If it ain't broke don't fix it
-
What is Realm?
-
MarkB, dont forget there are 3 places in HTTP_Entry_Point_Services that you need to put the name of your service . . Case Service _EQC 'customers' . . HREFNames := 'customers':@fm . . HREFURIs := SelfURL : '/customers' :…
-
>> APIURL$ = xlate("HTTP_CONFIGURATION_FILE",1,1,"X") where the record is: http://localhost/api << This had nothing to do with code problems, just testing on different servers where the address were different so it was more convenient …
-
Don, I had to do this in http_service_setup APIURL$ = xlate("HTTP_CONFIGURATION_FILE",1,1,"X") where the record is: http://localhost/api log record in <2> shows: /funeral/16279P when I do: http://localhost/api/funeral/16279P I had to…
-
Mark, >>service of relevance in this address 'www.myapplication.com/api/customers/5678/invoices/1234' is 'customers'. the ssp name would be http_customers_services
-
You might have to loop, build new, remove old repeat until 0
-
To locate a value in an array and then substitute that value with a value from a substitution array list, you have to create 2 arrays and do a locate in the values array and then use the pos to pull the value from the substitution array. If you cou…
-
Yes Don, that fixed it
-
still the same loop while Values Value=values[1,@vm] values[1,col2()]=null$ ItemsFmPos+=1 if index(Value,@tm,1) then loop while Value WrapText=value[1,@tm] value[1,col2()]=null$ ItemsFmPos+=1 Items=Left:…
-
what is showing for the above
-
Here it is
-
OK, shall do
-
Thank you birthday boy!