hatoo / hatoo/oha

Sending a POST request with urlencoded (x-www-form-urlencoded) data

Open
#553 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
10.5k
Forks
298
Avg merge
4h 20m
Merged PRs (30d)
5

Description

Hello,
How can i send a POST body with x-www-form-urlencoded data?
I couldn't make it work like this:

```
oha --insecure -m POST \
-T "application/x-www-form-urlencoded" \
-A "text/plain" \
-d 'username=my@mail.com.tr&password=mypassword' \
-c 1 \
-n 1 \
https://localhost:8443/my/tickets
```

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.