Hi Scott
Now using http_req() as advised. Looking good
Thank you for your help
Search found 5 matches
- Wed Mar 27, 2024 9:31 am
- Forum: HTTPAPI
- Topic: No JSON Returned if its not HTTP/1.1 200 OK
- Replies: 7
- Views: 19058
- Tue Mar 26, 2024 9:52 am
- Forum: HTTPAPI
- Topic: No JSON Returned if its not HTTP/1.1 200 OK
- Replies: 7
- Views: 19058
Re: No JSON Returned if its not HTTP/1.1 200 OK
Thanks for the that, Scott
I can get the 406 now ... I am more concerned about seeing the returned JSON.
As I said, when it is not 200 OK the JSON does not get returned !
Any help appreciated
I can get the 406 now ... I am more concerned about seeing the returned JSON.
As I said, when it is not 200 OK the JSON does not get returned !
Any help appreciated
- Mon Mar 25, 2024 10:14 pm
- Forum: HTTPAPI
- Topic: No JSON Returned if its not HTTP/1.1 200 OK
- Replies: 7
- Views: 19058
Re: No JSON Returned if its not HTTP/1.1 200 OK
I noticed this on another post ... "http_string() is meant as a way to make it easy to code -- but, it does make some assumptions that may not be right for you. One of its assumptions is that any response code aside from 200=Success means that it should send an *escape message." Maybe I wi...
- Mon Mar 25, 2024 8:19 pm
- Forum: HTTPAPI
- Topic: No JSON Returned if its not HTTP/1.1 200 OK
- Replies: 7
- Views: 19058
Re: No JSON Returned if its not HTTP/1.1 200 OK
When the HTTP Status is 200 ... the JSON response is received and is visible in my program ...
but when HTTP status is not 200 ... i.e 406 - Not Acceptable ... my DATA-INTO/response variable receive no JSON
but when HTTP status is not 200 ... i.e 406 - Not Acceptable ... my DATA-INTO/response variable receive no JSON
- Mon Mar 25, 2024 5:26 pm
- Forum: HTTPAPI
- Topic: No JSON Returned if its not HTTP/1.1 200 OK
- Replies: 7
- Views: 19058
No JSON Returned if its not HTTP/1.1 200 OK
Hi I am calling a web service then using DATA-INTO to receive the JSON to a DS. When I call and get a "200 OK" message the JSON is returned without issue as the client was successfully updated on the server side. The client can only be updated once... When I call again with the same client...