The TIBCO Spotfire Server REST API Reference documentation available here: (https://docs.tibco.com/pub/spotfire_server/11.4.1/doc/api/TIB_sfire_server_REST_API_Reference/library.html#_uploaddatausingpost) notes the Body parameter as Integer(32), which is incorrect. This will be fixed in due course but the following code serves as an example and helps to solve the issue:
curl -X POST "https://example.com/spotfire/api/rest/library/v1/upload/432bf161-07fb-43d7-8d2a-999cd3d65d44?chunk=1&finish=true" \
-H "accept: application/json" \
-H "Content-Length: 13" \
-H "authorization: Bearer <TRUNCATED>" \
-H "Content-Type: application/octet-stream" \
--data-binary @example.sbdf
Comments
0 comments
Article is closed for comments.