⚡ Write a sendHTTPRequest() Function using Kotlin #4181
Labels
good first issue
Good for newcomers
hacktoberfest
Issues that can win you some cool swags!
product / functions
Fixes and upgrades for the Appwrite Functions.
💭 Introduction
Appwrite Functions allow you to extend and customize your Appwrite server functionality by executing your custom code 🤩 You can learn more in our official Appwrite Functions docs.
The backbone of Appwrite Functions is Open Runtimes, an environment for serverless cloud computing. Since all Open Runtime functions are valid Appwrite functions, we are looking for contributors to extend the Open Runtimes Examples repository.
Your task is to implement
sendHTTPRequest()
function using Kotlin. Please make sure to look at existing function examples and use them as a template for your function. This will help you keep the proper structure as well as provide information on how to test the function.⚡ Function Details
Send a HTTP request. All configurations should be received as a payload. Supported options must be
method
,url
,body
, andheaders
. Status code, response body, and response headers should be returned. No function variables are necessary.Example function payload:
Successful function response:
Error function response:
🎯 Requirements
✅ Task Summary
sendHTTPRequest()
inKotlin/
folder.If you have questions, need any help, or just want to hang out, make sure to join us on our Discord server.
Happy Appwriting!
The text was updated successfully, but these errors were encountered: