Tags:
create new tag
view all tags

.DATA BAD REQUEST

This subroutine allows you return an error message to the caller. This is only useful when working with the Data API (Release 5.5.0 & higher)


Usage:

      PASS         <error_message>            FIELD            SHARE? N
      GOSUB    --- .DATA BAD REQUEST

Description:

This subroutine will return a JSON formatted message to the caller in the form { "Error":"<error_message"}

<error_message> is the text you want to return to the caller (Optional). If nothing is received, then it will default to 'Invalid Request'.

Comments


-- Jean Neron - 2020-03-03

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2020-03-04 - JeanNeron
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback