JuliaWeb / JuliaWeb/LibCURL.jl

Question: how to curl get and post

Open
#103 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
35
Forks
29
PR merge metrics
No merged PRs in 30d

Description

Hi,
Is there an example on how to curl get and post using LibCURL.jl?
For example is it possible to do:
```
curl "http://localhost:8000/echo"
```
Or
```
curl -H "Content-Type: application /json" --data '{"a":4,"b":5}' http//localhost:800/sum
```
The above example are directly taken from the following link (r package plumber):
https://www.rplumber.io/

Please note that I currently can't test the package HTTP because I currently can't install packages. I raise an issue in repo Pkg. The nice thing is that LibCURL comes pre-installed with Julia.
Thank you for your help.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.