Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: new web function to make http requests #1385

Merged
merged 2 commits into from
Sep 4, 2024

Conversation

Rooyca
Copy link
Contributor

@Rooyca Rooyca commented May 26, 2024

Short Description

tp.web function to make HTTP requests. Optionally, you can specify a path to extract specific data from the response.

Example

<% tp.web.request("https://jsonplaceholder.typicode.com/todos", "0.title") %>

Here we are making a call to the todos endpoint and we are getting the title of the first element.

@Rooyca Rooyca requested a review from Zachatoo September 3, 2024 01:28
@Zachatoo Zachatoo merged commit 55e251d into SilentVoid13:master Sep 4, 2024
1 check failed
@Zachatoo
Copy link
Collaborator

Zachatoo commented Sep 4, 2024

Thank you for your contribution!

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

Successfully merging this pull request may close these issues.

2 participants