I need to upload file to AWS S3 service, in UniBasic/UniData. The requirement is to call Amazon S3 HTTP REST API directly in UniBasic, using AWS Signature Version 4. Any examples out there?
How to upload file to Amazon S3 in UniBasic/UniData using the REST API, AWS Signature Version 4
134 Views Asked by Marvado At
1
There are 1 best solutions below
Related Questions in AMAZON-WEB-SERVICES
- S3 integration testing
- How to get content of BLOCK types LAYOUT_TITLE, LAYOUT_SECTION_HEADER and LAYOUT_xx in Textract
- Error **net::ERR_CONNECTION_RESET** error while uploading files to AWS S3 using multipart upload and Pre-Signed URL
- Failed to connect to your instance after deploying mern app on aws ec2 instance when i try to access frontend
- AWS - Tab Schema Conversion don't show up after creating a Migration Project
- Unable to run Bash Script using AWS Custom Lambda Runtime
- Using Amazon managed Prometheus to get EC2 metrics data in Grafana
- AWS Dns record A not navigate to elb
- Connection timed out error with smtp.gmail.com
- AWS Cognito Multi-tenant Integration | Ok to use Client’s Idp?
- Elasticbeanstalk FastAPI application is intermittently not responding to https requests
- Call an External API from AWS Lambda
- Why my mail service api spring isnt working?
- export 'AWSIoTProvider' (imported as 'AWSIoTProvider') was not found in '@aws-amplify/pubsub'
- How to take first x seconds of Audio from a wav file read from AWS S3 as binary stream using Python?
Related Questions in AMAZON-S3
- Mocking AmazonS3 listObjects function in scala
- S3 integration testing
- Error **net::ERR_CONNECTION_RESET** error while uploading files to AWS S3 using multipart upload and Pre-Signed URL
- Golang lambda upload image into s3 static website
- How to take first x seconds of Audio from a wav file read from AWS S3 as binary stream using Python?
- AWS Lambda Trigger For Same S3 File Name In Quick Succession
- Is there a way to upload a file in digital ocean object storage using php curl
- How to setup AWS credentials for next.js apps?
- S3 pre-signed url not working on whatsapp cloud Api
- How to set custom Origin Name in AWS CDK for CloudFront
- Property 'location' does not exist on type 'File'
- Resource handler returned message: "Unable to validate the following destination configurations
- Webmin CentOS7 AWS backup errors - perl(S3::AWSAuthConnection) can't be installed
- How to access variable to pass through url_for() as src in Flask App
- I cant figure out how to pull scripts from s3 to my aws workspace
Related Questions in MULTIVALUE
- Power BI Report Builder - Multiple reports using same template and only replacing fields
- PowerApps search by a column having multiple values
- Trouble Rendering Nested MultiValue Form Fields in Django - ProductPropertyField
- Converting dictionary with multiple strings into 2D Array/List
- How to select a single digit from a MULTI-VALUE field?
- Multivalued attribute year in relational database
- Display previously multi values selected in a searchable drop down when editing
- SSRS: How to use custom IDs instead of index values in multi-value parameters?
- Query MS Database Table with Multiple Column Values Represented By Multiple Rows
- Powershell 7 - Get-ADUser or Get-ADObject not returning all values for the multivalue "objectClass" property
- WPF datagrid get multiple cell values from a row without selection
- Postgres - Dealing with empty set of elements
- Use MultiValueMap Request body
- Solr: Use query params in sort in multivalued field
- Excel: How to analyze data in a table that contains multivalue cells
Related Questions in UNIDATA
- Authorization issue with NetCDF Java
- Unidata on Windows 2019
- Functions vs External Subroutines in Unidata/Universe
- In a Paragraph can we use the results of a SELECT statement in another SELECT criteria?
- How to return exit code in UniData?
- Rocket UniData/UniVerse: ODBC Unable to allocate sufficient memory
- Is there a way to check if a savedlist is empty in Unidata?
- How to upload file to Amazon S3 in UniBasic/UniData using the REST API, AWS Signature Version 4
- How to create netcdfFile without location ? JAVA
- VSCode : mvbasic extension on editing Unidata code with MV marks in code, ie CHAR(253), CHAR(254)
- UniObjects for Java how to open sessions to emulate connection pooling
- Execute Unidata Process from the shell command lines?
- pvlib-python forecast using GFS model server error - variable not contained in requested dataset
- CONVERTING MULTIVALUE TABLES IN UNIDATA
- Slow Connect via Open / OpenAsync .Net Provider Unidata
Related Questions in PICK
- Picker.js get date in Javacript
- How can I make the new list created by my UV BASIC program the active list when executed from TCL like in jBase's OR-LISTS program?
- How to return exit code in UniData?
- How to upload file to Amazon S3 in UniBasic/UniData using the REST API, AWS Signature Version 4
- D3 Pick Multivalue Database Access ODBC or other?
- Displaying the Line Number during the execution of a Pick Basic Program in uniVerse
- Game can't detect Winning
- how to add seconds in picked time
- Is there any way to use a more modern language with Pick Basic? D3 to be exact
- Pick DB extremely slow tcl queries
- Possible DB.TOXML bug? (UniVerse 11.3.1 on AIX)
- Pick/UniBasic Field function that operates with a delimiter of more than one character?
- How do I perform these common administrator D3 multivalue tasks in jBASE?
- How to SELECT for Value Mark Characters in TCL?
- Get String After Last Delimiter (BASIC)
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Approach this and all such challenges in two parts. First, be 100% positive that you know how to craft and send the proper REST API query from an OS command line. Be sure that you know how to process the response that comes back. Second, work out how to do the exact same operation from BASIC ... or whatever your toolkit is.
So let's say you have a URI like
http://foo.bar.s3.tld/api?auth=xxx&operation=...Get that to work from DOS or Linux.With that working 100% to upload your file to Amazon S3, the next challenge is to do the same from BASIC in Unidata.
All the pieces are in place. Now to execute you have a few options:
The OUTPUT may have JSON that needs to be parsed for a GUID or other info.
Another approach: Check the UniData UniBasicExtensions Reference Guide Chapter 2 - Using CallHTTP.
You can also put the command into the OS in a script with any language with which you're comfortable. You didn't tell us your OS so I'll assume Linux here. Use BASH or PHP or any other language to accept command-line arguments and set them into a query. Execute the query and echo the result. Now in BASIC :
You can parse the output in BASIC, or capture the output in your OS script, parse it there with common tools, extract the data you need, and echo only the data in an easy to parse format in BASIC.
So, verify your command and response and choose a solution from the above. If it doesn't work let's take another shot. If it does work, it will help the next person if you post your code without AUTH codes (that should be set in variables).
If we don't solve this here:
Good luck!