Access to old support incidents
Incident Properties
Question
Hi all,
I realized that my old incidents are not visible on the new RiDP support web site. Will they be transferred to the new web site at some point? If not will the old web site still be available for the foreseeable future?
Regards,
Jean-Marc Palmier
/rws/property/deviceinfo web API request
Incident Properties
Question
Hello,
I am attempting to use the Web API to retrieve the device information. Looking at the documentation and some examples, here is how I am formulating the request:
The URL is: http://pl021.lrsinc.org/rws/property/deviceinfo
The HTTP headers I am setting are:
Host: pl021.lrsinc.org
Authorization: YWRtaW46cGFzc3dvcmQ= (base64 encoded admin:password)
Accept: application/json
I receive a 400: Bad Request from the device. Here is the response I get:
According to the documentation, the "error.no_indispensable_header" tells me "Required request header does not exist". It also says the required request header should be in the "message" portion of the response, but it seems to be empty.
So, which header am I missing, or do I have something incorrect?
Thanks,
Bryan
Pull print WebAPI
Incident Properties
Question
I'm doing a technology investigation....
If I understand the webAPI correctly, I can send a command to the engine to pull a PDF file over HTTP and print it (c.f., Sonoran Part 1 presentation from dev conference). Can I do this from a browser with a piece of Javascript to issue the AJAX request to the engine?
I want to do the following:
Open the device browser (either as a Browser application or as an Android Webview in a lightweight panel application...I don't care which) on to load the user interface from https://server1.mycompany.com. I want to have a UI control (say, a button) to create the WebAPI POST /rws/servcie/print/jobs to instruct the engine to pull a PDF and print the content from a URL of my choosing. The PDF may be hosted on a different server.
The usual sticking point is the CORS configuration of the engine. Can the WebAPI be configured to allow cross-origin requests from a page hosted at server1.mycompany.com? If so, how do I do this?
Thanks,
Andy
Can I use the Web API in an Android application?
Yes, as long as the Android application specifies the following in the Android Manifest file:
<uses-permission android:name="android.permission.INTERNET" />
the application is allowed to make direct calls to the WebAPI.