We are using async web.put (with binary:true). It’s not clear from the documentation, but should code avoid issuing card.binary.put requests until the web.* request is complete?
(Also just a minor note - the binary parameter isn’t documented for web.put.)
While notecard is processing an async web request, can other requests that don’t affect the binary buffer still be issued?
Hey @devElert,
Yes, you should avoid using card.binary.put requests until the web.* request finishes as they share the same buffer.
You can use other requests that don’t deal with that binary buffer though (card.version, hub.sync, note.add, etc) without issue though.
And good catch on the docs. We list binary for web.post but missed it for web.put. Oops
I’ll get that cleaned up. Thanks!
TJ
2 Likes