Jump to content

REST API - POST Command


Recommended Posts

Hi All 

Is there a way to view a JSON Request that is sent to a server and be able to display it  to check for errors and validity ?

I can view a server response under status to view, but when fault finding it is hard to see the sent request.

Thanks in advance 

Douglas 

Link to comment
Share on other sites

From BIN V1.35 you can activate verbose mode for REST and get the response:
UniApps -> System -> Control -> System Logs  tab -> Activate Verbosity button -> REST API.  (It will require reboot)
In this mode the response will also be copied to the external SD to UserLogs/Txt/ and should look like "RestApi_localTime>.log"

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.