Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

GET request in Robot framework using AWS credentials #742

Open
Saruto85 opened this issue Aug 9, 2021 · 4 comments
Open

GET request in Robot framework using AWS credentials #742

Saruto85 opened this issue Aug 9, 2021 · 4 comments

Comments

@Saruto85
Copy link

Saruto85 commented Aug 9, 2021

Hello All,
I'm unable to send authorization with a get request to the end point through robot framework. I succeeded in sending a get request using AWS authorization using Postman. But when I took the signed header and sent it as a dictionary in robot framework it gave me this error:
Create session mysession https://url
${headers}= Create Dictionary Authorization=AWS4-HMAC-SHA256 Credential=, SignedHeaders=content-type;host;x-amz-date, Signature= X-Amz-Date=20210809T065038Z Content_Type=application/json
${response}= Get On Session mysession url=${newActCode} headers=${headers}
HTTPError: 403 Client Error: Forbidden for url: https://

Please help, I'm really stuck.
#robot frame work #aws authorization

@manoj7410
Copy link

@Saruto85 Is this related to Google AIY kits ?

@Saruto85
Copy link
Author

Saruto85 commented Aug 9, 2021

@manoj7410 I don't know. I am using API testing on Robot framework and requests library. And I want to send a request but I must send AWS credentials with it? What do you mean by Google AIY kits?

@manoj7410
Copy link

@Saruto85 The repo where you are posting this issue is specifically meant for Google AIY projects. Please see : https://github.com/google/aiyprojects-raspbian

I believe this is not the right place to post this query.

@Saruto85
Copy link
Author

Saruto85 commented Aug 9, 2021

@manoj7410 Oh, I'm sorry. I didn't notice. Where can I post it? thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants