Reply
Highlighted

Errors in WAPI Read and WAPI Write sample code

DvanZuijlekom
Techie
Posts: 2
2969     0

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.

Thanks, Dennis, I'll take a

I-Team Employee
Employee
Posts: 186
2970     0

Thanks, Dennis, I'll take a look at these.

 

Dennis, thanks.

I-Team Employee
Employee
Posts: 186
2970     0

Dennis, thanks.

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. 

 

 

Showing results for 
Search instead for 
Do you mean 

Recommended for You