Hi all !
I solved.
I solved.
C + KEY 'DensitaAmbiente' value decfloat (P.FIELD084),
Search found 7 matches
- Fri Sep 23, 2022 6:06 pm
- Forum: HTTPAPI
- Topic: WRITE JSON with EMBEDDED SQL in SQLRPGLE program
- Replies: 3
- Views: 10970
- Fri Sep 23, 2022 11:40 am
- Forum: HTTPAPI
- Topic: WRITE JSON with EMBEDDED SQL in SQLRPGLE program
- Replies: 3
- Views: 10970
Re: WRITE JSON with EMBEDDED SQL in SQLRPGLE program
Hi Brian. I have already added but obtain the same result.
"DensitaAmbiente":.818
"DensitaAmbiente":.818
- Fri Sep 23, 2022 7:17 am
- Forum: HTTPAPI
- Topic: WRITE JSON with EMBEDDED SQL in SQLRPGLE program
- Replies: 3
- Views: 10970
WRITE JSON with EMBEDDED SQL in SQLRPGLE program
Can anyone help me on how to write a numerical field with decimals in cases where this value is less than 1?
DDS DEFINITION
A FIELD084 4S 3 TEXT('DensitaAmbiente')
Example:
C+ Key 'DensitaAmbiente' value P.FIELD084,
If P.Feld084 has the value 1,564, all ok:
"DensitaAmbiente": 1,564,
If P ...
DDS DEFINITION
A FIELD084 4S 3 TEXT('DensitaAmbiente')
Example:
C+ Key 'DensitaAmbiente' value P.FIELD084,
If P.Feld084 has the value 1,564, all ok:
"DensitaAmbiente": 1,564,
If P ...
- Wed Sep 14, 2022 5:33 pm
- Forum: HTTPAPI
- Topic: HTTP Authentication help
- Replies: 7
- Views: 16260
Re: HTTP Authentication help
Hi all and thank you Scott.
After LIBHTTP upgrade to last versio, now all work fine.
-------------------------
HTTPAPI Ver 1.45 released 2021-09-20
NTLM Ver 1.4.0 released 2014-12-22
OS/400 Ver V7R3M0
New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819. ProtLoc=0
http_setauth(): entered ...
After LIBHTTP upgrade to last versio, now all work fine.
-------------------------
HTTPAPI Ver 1.45 released 2021-09-20
NTLM Ver 1.4.0 released 2014-12-22
OS/400 Ver V7R3M0
New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819. ProtLoc=0
http_setauth(): entered ...
- Tue Sep 13, 2022 2:40 pm
- Forum: HTTPAPI
- Topic: HTTP Authentication help
- Replies: 7
- Views: 16260
Re: HTTP Authentication help
Thank you Scott. I proceed to upgrade HTTPAPI at last version.
BR
Giulio Carlomagno
BR
Giulio Carlomagno
- Sun Sep 11, 2022 7:19 pm
- Forum: HTTPAPI
- Topic: HTTP Authentication help
- Replies: 7
- Views: 16260
Re: HTTP Authentication help
I have solved the previous isuue but now get another error.
SetError() £13: HTTP/1.1 405 Method Not Allowed
-------------------------------------------------------------------------------------
HTTPAPI Ver 1.23 released 2008-04-24
OS/400 Ver V7R3M0
New iconv() objects set, PostRem=819. PostLoc=0 ...
SetError() £13: HTTP/1.1 405 Method Not Allowed
-------------------------------------------------------------------------------------
HTTPAPI Ver 1.23 released 2008-04-24
OS/400 Ver V7R3M0
New iconv() objects set, PostRem=819. PostLoc=0 ...
- Sat Sep 10, 2022 4:39 pm
- Forum: HTTPAPI
- Topic: HTTP Authentication help
- Replies: 7
- Views: 16260
HTTP Authentication help
Hi all. I don't have many experience with http post.
Can someone please help ?
Here the execution with CURL and it work fine.
curl -X 'PUT' \
'https://xx-xxxx.xxx-xxxxxx.it/xxxxxxx/1.1.0/xxxxxxxxxxxxx' \
-H 'accept: */*' \
-H 'Authorization: Basic omissisvaWxzOkhmOMISSISOMISSIS==' \
-H ...
Can someone please help ?
Here the execution with CURL and it work fine.
curl -X 'PUT' \
'https://xx-xxxx.xxx-xxxxxx.it/xxxxxxx/1.1.0/xxxxxxxxxxxxx' \
-H 'accept: */*' \
-H 'Authorization: Basic omissisvaWxzOkhmOMISSISOMISSIS==' \
-H ...