Document URL: https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.0/html/developing_web_services_applications/developing_jax_rs_web_services#resteasy_javascript_api Section Number and Name: 2.13.1, About the RESTEasy JavaScript API Describe the issue: 2nd of 2 code samples appears to be wrong. Suggestions for improvement: 2nd code sample in this section says: "Foo.put({$entity: text});" But the first code sample, to which it refers, has a post method (not a put method). The corrected method call should be: "Foo.post({$entity: text});" (as there's no put method in the previous code sample, but there are get and post methods) Additional information:
It would be also helpful if the documentation included a bit more information as to how exactly the JavaScript API is intended to be used.
Final note: this "bug" is in the EAP 7 documention, not EAP 6; logged the bug here however EAP 7 is not listed as a choice. (Is the EAP 7 bugzilla elsewhere?).
(In reply to Richard Robinson from comment #2) > Final note: this "bug" is in the EAP 7 documention, not EAP 6; logged the > bug here however EAP 7 is not listed as a choice. (Is the EAP 7 bugzilla > elsewhere?). Richard, thanks for reporting these issues. We'll get a writer to handle this one as needed for EAP 7. To enter future bugs against EAP 7.x, go to this project: https://issues.jboss.org/projects/JBEAP/