Do the below question -Decrypt the encrypted. Not Attempted You will be given a…
- User
Do the below question -Decrypt the encrypted. Not Attempted
You will be given a paragraph(string) (encrypted using the Fernet method) and a key(string) to decrypt the paragraph. The paragraph contains emojis in-between the words, emojis are in the form of their unicode representation. Your task is to replace the unicode with their corresponding real emojis. Send the decrypted paragraph containing emojis in the query params with key answer and the code in the body of the request.
GET payload: https://quest.squadcast.tech/api/AP21110011210/emoji Submission Submission URL: https://quest.squadcast.tech/api/AP21110011210/submit/emoji?answer={your_answer}&extension={extension_used}
Make a HTTP POST Request to your submission URL with the code in the request body
Example Let's assume the answer is:
ten eight 😄 nine six five 😆 Note: Make sure your answer is URL encoded before sending it as a query param.
And the code for it is: import .......... return answer
So, the Submission URL will look like https://quest.squadcast.tech/api/AP21110011210/submit/emoji?answer=ten eight 😄 nine six five 😆&extension=go
With the code in the request body as raw text:
import .......... return answer
- Assistant