03-25-2014 06:50 AM
I am currently looking into the NIOS WAPI/REST interface. The documentation and sample code proves to be very helpful. The community pages Overview of the WAPI Read Sample Code (a.k.a. 'Read') and Overview of the WAPI Write Sample Code (a.k.a. 'Write') contain a few copy/paste errors though.
- The "Something went wrong" section code samples should be switched between the 'Read' and 'Write' pages.
- The 'Write' page references the $networkfields variable in the "Setting up the API URL" section (same as in the 'Read' page), but it is not in the actual code example.
03-25-2014 10:11 AM
I've corrected the read and write pages, and removed the reference to networkfields in the write code. It's only in the read sample.