community icon indicating copy to clipboard operation
community copied to clipboard

[INS-2216] [Improvement] REST operator to support cURL and HAR formats as input

Open praharshjain opened this issue 9 months ago • 3 comments

Is There an Existing Issue for This?

  • [X] I have searched the existing issues

Project

Instill VDP

Is your Proposal Related to a Problem?

Yes, currently the REST operator requires URL, method, body, and headers separately. If a user has a curl command (or a HAR file), they need to manually write an equivalent configuration in the operator format.

Describe Your Proposed Improvement

Add support for cURL and/or HAR file requests in the REST operator, so that it can just take one text input and perform the HTTP request.

Highlight the Benefits

REST operator becomes more versatile and easy to use.

Anything Else?

Ref - https://curlconverter.com/go/ https://curl.se/ https://en.wikipedia.org/wiki/HAR_(file_format)

INS-2216

praharshjain avatar Sep 29 '23 23:09 praharshjain

This issue is a great way to kick-start your journey with our project, or to make a positive impact on open-source development. Jump in!

:sparkles: Thank you for your contribution! :sparkles:

github-actions[bot] avatar Sep 29 '23 23:09 github-actions[bot]

Hey, I would like to work on this issue. Can I get assigned to this?

curiouspratik avatar Oct 03 '23 00:10 curiouspratik

Hi @curiouspratik! Absolutely, we’re thrilled about your interest in our project! :rocket: Here’s the Contributing Guideline for Instill VDP to get you started on your journey! Please refer to the Contributing Guidelines for components as well. Don’t forget to link your pull request to the corresponding issue, and after your PR gets merged, please complete this form to claim your well-deserved points! If you ever have any questions or need a hand along the way, don’t hesitate to drop a message in this thread or hop into our Discord. Happy contributing! :blush::star2:

harshsoni7 avatar Oct 04 '23 08:10 harshsoni7